diff options
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/interactive_shell.cpp | 1 | ||||
-rw-r--r-- | src/main/portfolio_util.cpp | 6 |
2 files changed, 1 insertions, 6 deletions
diff --git a/src/main/interactive_shell.cpp b/src/main/interactive_shell.cpp index e11f82a40..334373642 100644 --- a/src/main/interactive_shell.cpp +++ b/src/main/interactive_shell.cpp @@ -172,6 +172,7 @@ InteractiveShell::~InteractiveShell() { << ": " << strerror(err) << std::endl; } #endif /* HAVE_LIBREADLINE */ + delete d_parser; } Command* InteractiveShell::readCommand() throw (UnsafeInterruptException) { diff --git a/src/main/portfolio_util.cpp b/src/main/portfolio_util.cpp index 03827a917..8e38eb528 100644 --- a/src/main/portfolio_util.cpp +++ b/src/main/portfolio_util.cpp @@ -98,12 +98,6 @@ void parseThreadSpecificOptions(OptionsList& threadOptions, const Options& opts) ss << optid << ": " << e.getMessage(); throw OptionException(ss.str()); } - if(optind != targc) { - stringstream ss; - ss << "unused argument `" << targv[optind] - << "' in thread configuration " << optid << " !"; - throw OptionException(ss.str()); - } if(tOpts.getThreads() != numThreads || tOpts.getThreadArgv() != opts.getThreadArgv()) { stringstream ss; |