Initialize facetList
authorAdam Dickmeiss <adam@indexdata.dk>
Thu, 9 Sep 2010 09:34:48 +0000 (11:34 +0200)
committerAdam Dickmeiss <adam@indexdata.dk>
Thu, 9 Sep 2010 09:34:48 +0000 (11:34 +0200)
src/srw.c

index 44e8c17..93ff77c 100644 (file)
--- a/src/srw.c
+++ b/src/srw.c
@@ -734,6 +734,7 @@ int yaz_srw_codec(ODR o, void * vptr, Z_SRW_PDU **handler_data,
             res->diagnostics = 0;
             res->num_diagnostics = 0;
             res->nextRecordPosition = 0;
+            res->facetList = 0;
 
             for (; ptr; ptr = ptr->next)
             {