From 01189013b6ce8b20c9ee559777d38d97cfaee3e6 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Tue, 16 Dec 2014 08:23:04 +0100 Subject: [PATCH] Destroy router and filters in parent process MP-584 --- src/metaproxy_prog.cpp | 1 + 1 file changed, 1 insertion(+) 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() ); -- 1.7.10.4