Fix: Uninitialized member of Z_External when creating FacetList
authorDennis Schafroth <dennis@indexdata.com>
Thu, 22 Jul 2010 11:24:31 +0000 (13:24 +0200)
committerDennis Schafroth <dennis@indexdata.com>
Thu, 22 Jul 2010 11:24:31 +0000 (13:24 +0200)
src/otherinfo.c

index 7fa2635..52f6c9a 100644 (file)
@@ -193,6 +193,7 @@ void yaz_oi_set_facetlist_oid (
     z_external->which = Z_External_userFacets;
     z_external->direct_reference = odr_oiddup(odr, oid);
     z_external->indirect_reference = 0;
+    z_external->descriptor = 0;
     z_external->u.facetList = facet_list;
     oi->information.externallyDefinedInfo = z_external;
 }