Init new suggestions pointer
authorDennis Schafroth <dennis@indexdata.com>
Fri, 28 Oct 2011 08:45:24 +0000 (10:45 +0200)
committerDennis Schafroth <dennis@indexdata.com>
Fri, 28 Oct 2011 08:45:24 +0000 (10:45 +0200)
src/srwutil.c

index 40c8039..3a35a95 100644 (file)
@@ -767,6 +767,7 @@ Z_SRW_PDU *yaz_srw_get_pdu(ODR o, int which, const char *version)
         sr->u.response->nextRecordPosition = 0;
         sr->u.response->extra_records = 0;
         sr->u.response->facetList = 0;
+        sr->u.response->suggestions = 0;
         break;
     case Z_SRW_explain_request:
         sr->u.explain_request = (Z_SRW_explainRequest *)