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

pull/1/head
Daniel Stenberg 21 years ago
parent c0f9b28177
commit 438444b72f
  1. 3
      ares_destroy.c
  2. 1
      ares_expand_name.c
  3. 1
      ares_free_hostent.c

@ -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)
{

Loading…
Cancel
Save