opkg_manager: explicitly clear pkg_map in destructor

Origin commit data
------------------
Commit: 664e3012b3
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2016-01-01 (Fri, 01 Jan 2016)
This commit is contained in:
Stefan Seyfried
2016-01-01 23:18:59 +01:00
parent 2351c9922c
commit b59b034acf

View File

@@ -137,6 +137,7 @@ void COPKGManager::init()
COPKGManager::~COPKGManager()
{
pkg_map.clear();
CFileHelpers::removeDir(OPKG_TMP_DIR);
}