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:
bc4b62c
)
zoom: reset result sets (major leak)
author
Adam Dickmeiss
<adam@indexdata.dk>
Wed, 1 Feb 2012 11:35:19 +0000
(12:35 +0100)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Wed, 1 Feb 2012 11:35:19 +0000
(12:35 +0100)
src/filter_zoom.cpp
patch
|
blob
|
history
diff --git
a/src/filter_zoom.cpp
b/src/filter_zoom.cpp
index
f30b518
..
0d5349a
100644
(file)
--- a/
src/filter_zoom.cpp
+++ b/
src/filter_zoom.cpp
@@
-279,6
+279,7
@@
void yf::Zoom::Backend::connect(std::string zurl,
void yf::Zoom::Backend::search(ZOOM_query q, Odr_int *hits,
int *error, char **addinfo, ODR odr)
{
+ ZOOM_resultset_destroy(m_resultset);
m_resultset = ZOOM_connection_search(m_connection, q);
get_zoom_error(error, addinfo, odr);
if (*error == 0)