Browse Source

fix memory leak on str in neth

cl-refactor
caktux 10 years ago
parent
commit
5446b44fc6
  1. 1
      neth/main.cpp

1
neth/main.cpp

@ -415,6 +415,7 @@ int main(int argc, char** argv)
if (!(mainwin = initscr()))
{
cerr << "Error initialising ncurses.";
delete [] str;
return -1;
}

Loading…
Cancel
Save