diff options
author | Tao Bao <tbao@google.com> | 2016-08-18 08:10:34 +0200 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2016-08-18 08:10:35 +0200 |
commit | f599414aecd1f57059c763460b882086824e728d (patch) | |
tree | 21ea4accccd6cb53949a5fce1812c7aa574fa43a | |
parent | Merge ""view recovery logs" will show /tmp/recovery.log" (diff) | |
parent | Free mmaped area if keys fail to load (diff) | |
download | android_bootable_recovery-f599414aecd1f57059c763460b882086824e728d.tar android_bootable_recovery-f599414aecd1f57059c763460b882086824e728d.tar.gz android_bootable_recovery-f599414aecd1f57059c763460b882086824e728d.tar.bz2 android_bootable_recovery-f599414aecd1f57059c763460b882086824e728d.tar.lz android_bootable_recovery-f599414aecd1f57059c763460b882086824e728d.tar.xz android_bootable_recovery-f599414aecd1f57059c763460b882086824e728d.tar.zst android_bootable_recovery-f599414aecd1f57059c763460b882086824e728d.zip |
-rw-r--r-- | install.cpp | 1 |
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); |