From 88858ac607fd062c5eb7ac913856d9ccf986abdb Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Wed, 1 Feb 2012 10:29:19 +0100 Subject: [PATCH] Fix two WRBUF leaks (memory) --- src/filter_zoom.cpp | 2 ++ 1 file changed, 2 insertions(+) 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; } -- 1.7.10.4