mirror of https://github.com/moparisthebest/curl
Remove temporarily introduced memory leak.
This commit is contained in:
parent
0bf9c1e881
commit
7dbd502931
|
@ -90,14 +90,11 @@ 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();
|
||||||
|
|
Loading…
Reference in New Issue