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:
15e0f02
)
Fix two WRBUF leaks (memory)
author
Adam Dickmeiss
<adam@indexdata.dk>
Wed, 1 Feb 2012 09:29:19 +0000
(10:29 +0100)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Wed, 1 Feb 2012 09:29:19 +0000
(10:29 +0100)
src/filter_zoom.cpp
patch
|
blob
|
history
diff --git
a/src/filter_zoom.cpp
b/src/filter_zoom.cpp
index
17d7c10
..
f4e00a8
100644
(file)
--- a/
src/filter_zoom.cpp
+++ b/
src/filter_zoom.cpp
@@
-231,6
+231,7
@@
yf::Zoom::Backend::~Backend()
xsltFreeStylesheet(xsp);
ZOOM_connection_destroy(m_connection);
ZOOM_resultset_destroy(m_resultset);
+ wrbuf_destroy(m_apdu_wrbuf);
}
@@
-710,6
+711,7
@@
bool yf::Zoom::Frontend::create_content_session(mp::Package &package,
fclose(file);
package.log("zoom", YLOG_LOG, "content file: %s", fname);
xfree(fname);
+ wrbuf_destroy(w);
}
return true;
}