From 1e38d90b239e7b0b13f2d19602ed66710786de74 Mon Sep 17 00:00:00 2001 From: Jacek Jendrzej Date: Fri, 15 Apr 2016 20:58:04 +0200 Subject: [PATCH] src/gui/components/cc_item_progressbar.cpp fix possible memleak --- src/gui/components/cc_item_progressbar.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gui/components/cc_item_progressbar.cpp b/src/gui/components/cc_item_progressbar.cpp index 5bf56adff..1221f31dc 100644 --- a/src/gui/components/cc_item_progressbar.cpp +++ b/src/gui/components/cc_item_progressbar.cpp @@ -197,6 +197,7 @@ void CProgressBarCache::pbcClear() free((*it)->pbc_active); if ((*it)->pbc_passive) free((*it)->pbc_passive); + delete (*it); } pbCache.clear(); }