opkg_manager: explicitly clear pkg_map in destructor

Signed-off-by: Thilo Graf <dbt@novatux.de>


Origin commit data
------------------
Commit: fb5265e0fa
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2016-01-04 (Mon, 04 Jan 2016)
This commit is contained in:
Stefan Seyfried
2016-01-04 21:03:49 +01:00
committed by vanhofen
parent cd6465590b
commit 490b0e38de

View File

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