include ares_private.h to make sure we get the memdebug stuff included

This commit is contained in:
Daniel Stenberg
2004-02-17 07:40:31 +00:00
parent c0f9b28177
commit 438444b72f
3 changed files with 4 additions and 1 deletions
+2 -1
View File
@@ -28,7 +28,8 @@ void ares_destroy(ares_channel channel)
for (i = 0; i < channel->ndomains; i++)
free(channel->domains[i]);
free(channel->domains);
free(channel->sortlist);
if(channel->sortlist)
free(channel->sortlist);
free(channel->lookups);
while (channel->queries)
{