From 7942476276e9d4b8157b7ed8c8b052fd3ed258fa Mon Sep 17 00:00:00 2001 From: Nicolas Dextraze Date: Sat, 24 Mar 2018 10:09:02 -0700 Subject: [PATCH] Display mem leaks on DEBUG only --- test/main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/main.c b/test/main.c index b143182..108cce4 100644 --- a/test/main.c +++ b/test/main.c @@ -79,8 +79,9 @@ int main() { esc_connection_destroy(conn); esc_credentials_destroy(credentials); - +#ifdef DEBUG dbg_list_allocs(); +#endif #ifdef _WIN32 WSACleanup();