opkg_manager: explicitly clear pkg_map in destructor

Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
Stefan Seyfried
2016-01-04 21:03:49 +01:00
committed by svenhoefer
parent 8f0e74a3bf
commit fb5265e0fa

View File

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