From 8ec1df012d942eb11dd50d57d6ac28239c707f79 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Thu, 17 Dec 2009 15:12:47 +0100 Subject: [PATCH] Filter limit: fix leak --- src/filter_limit.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/filter_limit.cpp b/src/filter_limit.cpp index f2c7399..0826ffd 100644 --- a/src/filter_limit.cpp +++ b/src/filter_limit.cpp @@ -183,7 +183,10 @@ void yf::Limit::Impl::process(mp::Package &package) } } if (package.session().is_closed()) + { m_sessions.erase(package.session()); + delete ses; + } } if (reduce) { -- 1.7.10.4