From: Adam Dickmeiss Date: Tue, 16 Dec 2014 07:23:04 +0000 (+0100) Subject: Destroy router and filters in parent process MP-584 X-Git-Tag: v1.7.2~1 X-Git-Url: http://jsfdemo.indexdata.com/cgi-bin?a=commitdiff_plain;h=01189013b6ce8b20c9ee559777d38d97cfaee3e6;p=metaproxy-moved-to-github.git Destroy router and filters in parent process MP-584 --- diff --git a/src/metaproxy_prog.cpp b/src/metaproxy_prog.cpp index 170e923..dfcea29 100644 --- a/src/metaproxy_prog.cpp +++ b/src/metaproxy_prog.cpp @@ -263,6 +263,7 @@ static int sc_main( yaz_daemon("metaproxy", mode, mode == YAZ_DAEMON_DEBUG ? work_debug : work_normal, router, pidfile, uid); } + delete router; } catch (std::logic_error &e) { yaz_log(YLOG_FATAL,"std::logic error: %s" , e.what() );