- Fixed memory leak on pkgmanager