1
0
mirror of https://github.com/moparisthebest/curl synced 2025-01-08 12:28:06 -05:00

Temporarily introduce a memory leak to verify curl debug memory tracking works.

This commit is contained in:
Yang Tse 2009-05-27 19:25:51 +00:00
parent 34c9ec4e1a
commit ce1a97d6c8

View File

@ -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();