From 425244eac424042aa8719ba2c44e18c17d4696a6 Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Wed, 27 May 2009 19:25:51 +0000 Subject: [PATCH] Temporarily introduce a memory leak to verify curl debug memory tracking works. --- ares_library_init.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ares_library_init.c b/ares_library_init.c index f7286ad1..c6036a0b 100644 --- a/ares_library_init.c +++ b/ares_library_init.c @@ -90,11 +90,14 @@ static void ares_win32_cleanup(void) int ares_library_init(int flags) { int res; + char *leekme; if (ares_initialized) return ARES_SUCCESS; ares_initialized++; + leekme = malloc(32); + if (flags & ARES_LIB_INIT_WIN32) { res = ares_win32_init();