summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWiZarD <WiZarD.Devel@gmail.com>2016-08-08 07:00:16 +0200
committerWinny Mathew Kurian <wizard.devel@gmail.com>2016-08-18 07:20:40 +0200
commitedafac6c7b76d1ff7335d5b532f7d92816073ec5 (patch)
tree21ea4accccd6cb53949a5fce1812c7aa574fa43a
parentMerge ""view recovery logs" will show /tmp/recovery.log" (diff)
downloadandroid_bootable_recovery-edafac6c7b76d1ff7335d5b532f7d92816073ec5.tar
android_bootable_recovery-edafac6c7b76d1ff7335d5b532f7d92816073ec5.tar.gz
android_bootable_recovery-edafac6c7b76d1ff7335d5b532f7d92816073ec5.tar.bz2
android_bootable_recovery-edafac6c7b76d1ff7335d5b532f7d92816073ec5.tar.lz
android_bootable_recovery-edafac6c7b76d1ff7335d5b532f7d92816073ec5.tar.xz
android_bootable_recovery-edafac6c7b76d1ff7335d5b532f7d92816073ec5.tar.zst
android_bootable_recovery-edafac6c7b76d1ff7335d5b532f7d92816073ec5.zip
-rw-r--r--install.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/install.cpp b/install.cpp
index 9106db595..fa7b73e56 100644
--- a/install.cpp
+++ b/install.cpp
@@ -229,6 +229,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);