projects
/
yaz-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Public declaration for yaz_prox_unit_name()
[yaz-moved-to-github.git]
/
src
/
pquery.c
diff --git
a/src/pquery.c
b/src/pquery.c
index
a023d96
..
a0fde12
100644
(file)
--- a/
src/pquery.c
+++ b/
src/pquery.c
@@
-888,7
+888,11
@@
Z_FacetList *yaz_pqf_parse_facet_list(ODR o, const char *qbuf)
fl->elements = (Z_FacetField **)
odr_malloc(o, num * sizeof(*fl->elements));
for (i = 0; i < num; i++)
+ {
fl->elements[i] = parse_facet(o, darray[i]);
+ if (!fl->elements[i])
+ return 0;
+ }
return fl;
}
else