opkg_manager: explicitly clear pkg_map in destructor

Origin commit data
------------------
Branch: ni/coolstream
Commit: 664e3012b3
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2016-01-01 (Fri, 01 Jan 2016)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
Stefan Seyfried
2016-01-01 23:18:59 +01:00
parent 9cead340f2
commit abff1baa3a

View File

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