From 2206e86bb4876021ad9422a91965023cdb160c93 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Mon, 24 Oct 2011 23:39:21 +0000 Subject: [PATCH] - client: free mem on exit if debug mode svn path=/trunk/boinc/; revision=24475 --- client/main.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/client/main.cpp b/client/main.cpp index c55a89ba0b..12627fe623 100644 --- a/client/main.cpp +++ b/client/main.cpp @@ -291,7 +291,9 @@ static int finalize() { curl_cleanup(); - //gstate.free_mem(); +#ifdef _DEBUG + gstate.free_mem(); +#endif diagnostics_finish(); gstate.cleanup_completed = true;