mirror of
https://frontier.innolan.net/rainlance/c-ares.git
synced 2025-10-06 10:09:58 +00:00
Temporarily introduce a memory leak to verify curl debug memory tracking works.
This commit is contained in:
@ -90,11 +90,14 @@ static void ares_win32_cleanup(void)
|
|||||||
int ares_library_init(int flags)
|
int ares_library_init(int flags)
|
||||||
{
|
{
|
||||||
int res;
|
int res;
|
||||||
|
char *leekme;
|
||||||
|
|
||||||
if (ares_initialized)
|
if (ares_initialized)
|
||||||
return ARES_SUCCESS;
|
return ARES_SUCCESS;
|
||||||
ares_initialized++;
|
ares_initialized++;
|
||||||
|
|
||||||
|
leekme = malloc(32);
|
||||||
|
|
||||||
if (flags & ARES_LIB_INIT_WIN32)
|
if (flags & ARES_LIB_INIT_WIN32)
|
||||||
{
|
{
|
||||||
res = ares_win32_init();
|
res = ares_win32_init();
|
||||||
|
Reference in New Issue
Block a user