From ce1a97d6c80a9eb9eb146e0d4f5a37deb3e5d9d0 Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Wed, 27 May 2009 19:25:51 +0000 Subject: Temporarily introduce a memory leak to verify curl debug memory tracking works. --- ares/ares_library_init.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'ares') diff --git a/ares/ares_library_init.c b/ares/ares_library_init.c index f7286ad17..c6036a0b2 100644 --- a/ares/ares_library_init.c +++ b/ares/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(); -- cgit v1.2.3