diff --git a/src/rpc/cli.cpp b/src/rpc/cli.cpp index 29d5051..c4030f8 100644 --- a/src/rpc/cli.cpp +++ b/src/rpc/cli.cpp @@ -221,13 +221,13 @@ void cli::getline( const fc::string& prompt, fc::string& line) { if (*line_read) add_history(line_read); - free(line_read); } catch(...) { free(line_read); throw; } + free(line_read); }).wait(); } else