diff options
-rw-r--r-- | install.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/install.cpp b/install.cpp index 3d0729064..6c8d827c2 100644 --- a/install.cpp +++ b/install.cpp @@ -302,6 +302,7 @@ really_install_package(const char *path, bool* wipe_cache, bool needs_mount, std::vector<Certificate> loadedKeys; if (!load_keys(PUBLIC_KEYS_FILE, loadedKeys)) { LOGE("Failed to load keys\n"); + sysReleaseMap(&map); return INSTALL_CORRUPT; } LOGI("%zu key(s) loaded from %s\n", loadedKeys.size(), PUBLIC_KEYS_FILE); |