projects
/
yazproxy-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:
2bfdeda
)
Fix memory leak: scan ODR was not released
author
Adam Dickmeiss
<adam@indexdata.dk>
Wed, 28 Nov 2012 13:37:14 +0000
(14:37 +0100)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Wed, 28 Nov 2012 13:37:14 +0000
(14:37 +0100)
src/yaz-proxy.cpp
patch
|
blob
|
history
diff --git
a/src/yaz-proxy.cpp
b/src/yaz-proxy.cpp
index
7233565
..
e17b2ef
100644
(file)
--- a/
src/yaz-proxy.cpp
+++ b/
src/yaz-proxy.cpp
@@
-340,6
+340,8
@@
Yaz_Proxy::~Yaz_Proxy()
odr_destroy(m_s2z_odr_init);
if (m_s2z_odr_search)
odr_destroy(m_s2z_odr_search);
+ if (m_s2z_odr_scan)
+ odr_destroy(m_s2z_odr_scan);
if (!m_parent)
low_socket_close();
if (!m_parent)