1
0
mirror of https://frontier.innolan.net/rainlance/c-ares.git synced 2025-10-05 20:19:32 +00: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 388e389638
commit 425244eac4

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