projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
34c9ec4
)
Temporarily introduce a memory leak to verify curl debug memory tracking works.
author
Yang Tse
<yangsita@gmail.com>
Wed, 27 May 2009 19:25:51 +0000
(19:25 +0000)
committer
Yang Tse
<yangsita@gmail.com>
Wed, 27 May 2009 19:25:51 +0000
(19:25 +0000)
ares/ares_library_init.c
patch
|
blob
|
history
diff --git
a/ares/ares_library_init.c
b/ares/ares_library_init.c
index
f7286ad
..
c6036a0
100644
(file)
--- 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();