chiark / gitweb /
+ * Many memory leaks fixed.
[adns] / src / general.c
index 0168a4ae4ea252fb6fa8263b71f1a8e3e68a08f7..87937627bf5329ada53d00d2da24caf6d0b82eb8 100644 (file)
@@ -68,6 +68,7 @@ void adns__vdiag(adns_state ads, const char *pfx, adns_initflags prevent,
     if (qu->typei && qu->typei->fmtname)
       fprintf(ads->diagfile,"(%s)",qu->typei->fmtname);
     bef=", "; aft=")\n";
+    adns__vbuf_free(&vb);
   }
   
   if (serv>=0) {