Skip to content
Snippets Groups Projects
Commit d87981e4 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

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

parent 59091fa8
No related branches found
No related tags found
No related merge requests found
......@@ -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)
{
......
......@@ -24,6 +24,7 @@
#include <stdlib.h>
#include "ares.h"
#include "ares_private.h" /* for the memdebug */
static int name_length(const unsigned char *encoded, const unsigned char *abuf,
int alen);
......
......@@ -22,6 +22,7 @@
#endif
#include "ares.h"
#include "ares_private.h" /* for memdebug */
void ares_free_hostent(struct hostent *host)
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment