mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 15:48:49 -05:00
include ares_private.h to make sure we get the memdebug stuff included
This commit is contained in:
parent
59091fa860
commit
d87981e4c1
@ -28,7 +28,8 @@ void ares_destroy(ares_channel channel)
|
|||||||
for (i = 0; i < channel->ndomains; i++)
|
for (i = 0; i < channel->ndomains; i++)
|
||||||
free(channel->domains[i]);
|
free(channel->domains[i]);
|
||||||
free(channel->domains);
|
free(channel->domains);
|
||||||
free(channel->sortlist);
|
if(channel->sortlist)
|
||||||
|
free(channel->sortlist);
|
||||||
free(channel->lookups);
|
free(channel->lookups);
|
||||||
while (channel->queries)
|
while (channel->queries)
|
||||||
{
|
{
|
||||||
|
@ -24,6 +24,7 @@
|
|||||||
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include "ares.h"
|
#include "ares.h"
|
||||||
|
#include "ares_private.h" /* for the memdebug */
|
||||||
|
|
||||||
static int name_length(const unsigned char *encoded, const unsigned char *abuf,
|
static int name_length(const unsigned char *encoded, const unsigned char *abuf,
|
||||||
int alen);
|
int alen);
|
||||||
|
@ -22,6 +22,7 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "ares.h"
|
#include "ares.h"
|
||||||
|
#include "ares_private.h" /* for memdebug */
|
||||||
|
|
||||||
void ares_free_hostent(struct hostent *host)
|
void ares_free_hostent(struct hostent *host)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user