summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2009-05-28 09:58:24 +0000
committerYang Tse <yangsita@gmail.com>2009-05-28 09:58:24 +0000
commit7a5621876b33f7e851a2b249f23c29849481bf9b (patch)
treebd8cec894d6821acd0a4182f292df137b8a5c784
parent425244eac424042aa8719ba2c44e18c17d4696a6 (diff)
downloadc-ares-7a5621876b33f7e851a2b249f23c29849481bf9b.tar.gz
c-ares-7a5621876b33f7e851a2b249f23c29849481bf9b.tar.bz2
c-ares-7a5621876b33f7e851a2b249f23c29849481bf9b.zip
Remove temporarily introduced memory leak.
-rw-r--r--ares_library_init.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/ares_library_init.c b/ares_library_init.c
index c6036a0..f7286ad 100644
--- a/ares_library_init.c
+++ b/ares_library_init.c
@@ -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();