mirror of
https://github.com/curl/curl.git
synced 2025-09-17 09:32:48 +03:00
don't free(NULL)
This commit is contained in:
parent
d42dcd60cd
commit
93dde29979
|
@ -109,6 +109,7 @@ int ares_init_options(ares_channel *channelptr, struct ares_options *options,
|
||||||
}
|
}
|
||||||
if (channel->nsort != -1)
|
if (channel->nsort != -1)
|
||||||
free(channel->sortlist);
|
free(channel->sortlist);
|
||||||
|
if(channel->lookups)
|
||||||
free(channel->lookups);
|
free(channel->lookups);
|
||||||
free(channel);
|
free(channel);
|
||||||
return status;
|
return status;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user