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:
parent
34c9ec4e1a
commit
ce1a97d6c8
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user