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;