diff --git a/neth/main.cpp b/neth/main.cpp index 1eac7fb1f..6a7b799cc 100644 --- a/neth/main.cpp +++ b/neth/main.cpp @@ -415,6 +415,7 @@ int main(int argc, char** argv) if (!(mainwin = initscr())) { cerr << "Error initialising ncurses."; + delete [] str; return -1; }