projects
/
metaproxy-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:
3612497
)
Fix leak in sru_z3950 filter - when explain is returned MP-511
author
Adam Dickmeiss
<adam@indexdata.dk>
Mon, 3 Feb 2014 12:39:26 +0000
(13:39 +0100)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Mon, 3 Feb 2014 12:39:26 +0000
(13:39 +0100)
src/sru_util.cpp
patch
|
blob
|
history
diff --git
a/src/sru_util.cpp
b/src/sru_util.cpp
index
5ce98f7
..
c02007b
100644
(file)
--- a/
src/sru_util.cpp
+++ b/
src/sru_util.cpp
@@
-131,6
+131,7
@@
bool mp_util::build_sru_explain(metaproxy_1::Package &package,
xmlDocDumpFormatMemory(doc, &xmlbuff, &xmlbuffsz, 1);
explain_xml.assign((const char*)xmlbuff, 0, xmlbuffsz);
+ xmlFree(xmlbuff);
}