diff --git a/symal.cpp b/symal.cpp index c56f5a5..11b1cf1 100644 --- a/symal.cpp +++ b/symal.cpp @@ -507,7 +507,7 @@ int main(int argc, char** argv) delete inp; } if (out != &std::cout) { - delete inp; + delete out; } } catch (const std::exception &e) { cerr << e.what() << std::endl;