mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 01:11:06 +02:00
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:
committed by
vanhofen
parent
cd6465590b
commit
490b0e38de
@@ -133,6 +133,7 @@ void COPKGManager::init()
|
|||||||
|
|
||||||
COPKGManager::~COPKGManager()
|
COPKGManager::~COPKGManager()
|
||||||
{
|
{
|
||||||
|
pkg_map.clear();
|
||||||
CFileHelpers::removeDir(OPKG_TMP_DIR);
|
CFileHelpers::removeDir(OPKG_TMP_DIR);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user