diff options
author | randomdan <randomdan@localhost> | 2014-01-10 21:37:46 +0000 |
---|---|---|
committer | randomdan <randomdan@localhost> | 2014-01-10 21:37:46 +0000 |
commit | 73eb737f5da7a209ed038b0c27a788595a652617 (patch) | |
tree | 020b59a0e888476cac6181296f1240f6b94b035f /project2/cgi | |
parent | Remove boost::format bloat by centralizeing construction (diff) | |
download | project2-73eb737f5da7a209ed038b0c27a788595a652617.tar.bz2 project2-73eb737f5da7a209ed038b0c27a788595a652617.tar.xz project2-73eb737f5da7a209ed038b0c27a788595a652617.zip |
Improvements to popenrw and add popenrwe for the stderr pipe too
Improve exception when loading a library fails
Fix a handful of ingeniously located memory leaks
Diffstat (limited to 'project2/cgi')
-rw-r--r-- | project2/cgi/testCgi.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/project2/cgi/testCgi.cpp b/project2/cgi/testCgi.cpp index 80c3f01..6644102 100644 --- a/project2/cgi/testCgi.cpp +++ b/project2/cgi/testCgi.cpp @@ -32,6 +32,11 @@ class TestInput : public cgicc::CgiInput, public CgiEnvInput { OptionsSources::Add("_2", new CommandLineArguments(argc, argv, [](const char * url) { urls.push_back(url); })); } + ~TestInput() + { + OptionsSources::Remove("_1"); + OptionsSources::Remove("_2"); + } std::string getenv(const std::string & varName) const { |