projects
/
yaz-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1fe0314
)
Fix uninit-memory for sru/solr databaseRecord
author
Adam Dickmeiss
<adam@indexdata.dk>
Tue, 21 Jun 2011 10:39:12 +0000
(12:39 +0200)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Tue, 21 Jun 2011 10:39:12 +0000
(12:39 +0200)
src/zoom-sru.c
patch
|
blob
|
history
diff --git
a/src/zoom-sru.c
b/src/zoom-sru.c
index
557e812
..
d6ce28d
100644
(file)
--- a/
src/zoom-sru.c
+++ b/
src/zoom-sru.c
@@
-328,6
+328,7
@@
static zoom_ret handle_srw_response(ZOOM_connection c,
npr->u.databaseRecord->descriptor = 0;
npr->u.databaseRecord->direct_reference =
odr_oiddup(c->odr_in, yaz_oid_recsyn_xml);
+ npr->u.databaseRecord->indirect_reference = 0;
npr->u.databaseRecord->which = Z_External_octet;
npr->u.databaseRecord->u.octet_aligned = (Odr_oct *)