]> granicus.if.org Git - curl/commitdiff
Remove temporarily introduced memory leak.
authorYang Tse <yangsita@gmail.com>
Thu, 28 May 2009 09:58:24 +0000 (09:58 +0000)
committerYang Tse <yangsita@gmail.com>
Thu, 28 May 2009 09:58:24 +0000 (09:58 +0000)
ares/ares_library_init.c

index c6036a0b27744e1352bd53a18720d6468e20f9e0..f7286ad17dcddf71298318412ee07ac51bc58285 100644 (file)
@@ -90,14 +90,11 @@ 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();