aboutsummaryrefslogtreecommitdiff
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
commit7dbd502931529ea962e38af23614052cfb59b45f (patch)
tree261ff7e225f2cc143dd2c01110e364374e6292dd
parent0bf9c1e8815ad1bf07ef875b3e7a5a3acc9f3e8c (diff)
Remove temporarily introduced memory leak.
-rw-r--r--ares/ares_library_init.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/ares/ares_library_init.c b/ares/ares_library_init.c
index c6036a0b2..f7286ad17 100644
--- a/ares/ares_library_init.c
+++ b/ares/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();