From: Adam Dickmeiss Date: Wed, 1 Feb 2012 09:29:19 +0000 (+0100) Subject: Fix two WRBUF leaks (memory) X-Git-Tag: v1.3.22~10 X-Git-Url: http://lists.indexdata.dk/?a=commitdiff_plain;h=88858ac607fd062c5eb7ac913856d9ccf986abdb;p=metaproxy-moved-to-github.git Fix two WRBUF leaks (memory) --- diff --git a/src/filter_zoom.cpp b/src/filter_zoom.cpp index 17d7c10..f4e00a8 100644 --- 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; }