From: Arran Cudbard-Bell Date: Tue, 17 Jul 2018 23:19:20 +0000 (-0400) Subject: Missed fr_reset_dumpable X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6da612a5d3b991e4e0575f8dceecf71505bd3eab;p=thirdparty%2Ffreeradius-server.git Missed fr_reset_dumpable --- diff --git a/src/bin/radiusd.c b/src/bin/radiusd.c index 95015bb02af..b3520b63f3f 100644 --- a/src/bin/radiusd.c +++ b/src/bin/radiusd.c @@ -873,7 +873,7 @@ cleanup: tls_free(); /* Cleanup any memory alloced by OpenSSL and placed into globals */ #endif - talloc_memory_report = config->talloc_memory_report; + talloc_memory_report = config->talloc_memory_report; /* Grab this before we free the config */ /* * And now nothing should be left anywhere except the diff --git a/src/lib/server/util.c b/src/lib/server/util.c index e2f8aebe0ce..35bf96e4e1c 100644 --- a/src/lib/server/util.c +++ b/src/lib/server/util.c @@ -1393,6 +1393,8 @@ void rad_suid_down(void) talloc_free(passwd); fr_exit_now(1); } + + fr_reset_dumpable(); } void rad_suid_down_permanent(void)