Forgot to release normalized xml record. Whoops.
authorSebastian Hammer <quinn@indexdata.com>
Thu, 4 Jan 2007 03:16:14 +0000 (03:16 +0000)
committerSebastian Hammer <quinn@indexdata.com>
Thu, 4 Jan 2007 03:16:14 +0000 (03:16 +0000)
src/pazpar2.c

index 1f220c5..4c3ab58 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: pazpar2.c,v 1.9 2007-01-04 02:35:42 quinn Exp $ */;
+/* $Id: pazpar2.c,v 1.10 2007-01-04 03:16:14 quinn Exp $ */;
 
 #include <stdlib.h>
 #include <stdio.h>
@@ -471,6 +471,8 @@ static struct record *ingest_record(struct client *cl, Z_External *rec)
             yaz_log(YLOG_WARN, "Unexpected element %s in internal record", n->name);
     }
 
+    xmlFreeDoc(xdoc);
+
     relevance_donerecord(se->relevance, head);
     se->total_records++;