-/* $Id */
-
/* Copyright 1998 by the Massachusetts Institute of Technology.
*
* Permission to use, copy, modify, and distribute this
* on behalf of AVIRA Gmbh - http://www.avira.com
*/
-#include "setup.h"
+#include "ares_setup.h"
-#ifdef HAVE_SYS_SOCKET_H
-# include <sys/socket.h>
-#endif
#ifdef HAVE_NETINET_IN_H
# include <netinet/in.h>
#endif
# include <arpa/nameser_compat.h>
#endif
-#include <stdlib.h>
-#include <string.h>
#include "ares.h"
#include "ares_dns.h"
#include "ares_private.h"
if ( aptr + RRFIXEDSZ > abuf + alen )
{
status = ARES_EBADRESP;
+ free(rr_name);
break;
}
rr_type = DNS_RR_TYPE( aptr );
&len);
if ( status != ARES_SUCCESS )
{
+ free(rr_name);
break;
}