From 490b0e38dece6967f76f1e14e65f445a62efbb55 Mon Sep 17 00:00:00 2001 From: Stefan Seyfried Date: Mon, 4 Jan 2016 21:03:49 +0100 Subject: [PATCH] opkg_manager: explicitly clear pkg_map in destructor Signed-off-by: Thilo Graf Origin commit data ------------------ Commit: https://github.com/neutrino-images/ni-neutrino/commit/fb5265e0fadeecd96da4a3815a0c481bff72b0cb Author: Stefan Seyfried Date: 2016-01-04 (Mon, 04 Jan 2016) --- src/gui/opkg_manager.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gui/opkg_manager.cpp b/src/gui/opkg_manager.cpp index 15a3c20ef..9a41117a3 100644 --- a/src/gui/opkg_manager.cpp +++ b/src/gui/opkg_manager.cpp @@ -133,6 +133,7 @@ void COPKGManager::init() COPKGManager::~COPKGManager() { + pkg_map.clear(); CFileHelpers::removeDir(OPKG_TMP_DIR); }