chiark / gitweb /
Various manual fixes.
[mLib] / bres-adns.c
index 34372a9cda03fbae818548a15b394f172e984162..e0a034adbb488d69153d20a0f2b0d9206582cd91 100644 (file)
@@ -1,6 +1,6 @@
 /* -*-c-*-
  *
- * $Id: bres-adns.c,v 1.3 2004/04/03 03:28:54 mdw Exp $
+ * $Id$
  *
  * Background reverse name resolution (ADNS version)
  *
  * must be licensed under the full GPL.
  */
 
-/*----- Revision history --------------------------------------------------* 
- *
- * $Log: bres-adns.c,v $
- * Revision 1.3  2004/04/03 03:28:54  mdw
- * Make ADNS wait for the event loop before collecting replies.
- *
- * Revision 1.2  2003/12/14 14:46:38  mdw
- * Qualify name given to @bres_byname@.
- *
- * Revision 1.1  2003/12/13 20:37:59  mdw
- * Add adns support in background resolver.
- *
- */
-
 #ifndef HAVE_ADNS
 #  error "You need the ADNS library to compile this file."
 #endif
@@ -283,7 +269,7 @@ static void afterhook(sel_state *s, sel_args *sa, void *p)
       case adns_r_addr:
        assert(a->type == adns_r_addr);
        report(rc, a, a->rrs.addr, a->nrrs, &a->owner, 1);
-       free(rc->u.name);
+       xfree(rc->u.name);
        free(a);
        break;
       case adns_r_ptr: