diff options
author | Tao Bao <tbao@google.com> | 2016-08-18 08:14:46 +0200 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2016-08-18 08:14:46 +0200 |
commit | b3ddc0a4bf4334fa114d2b1716675d29a7024c1f (patch) | |
tree | b85cd408f739300b9e9995e4d1d83e1c88355c41 | |
parent | Merge ""view recovery logs" will show /tmp/recovery.log" (diff) | |
parent | Merge "Free mmaped area if keys fail to load" (diff) | |
download | android_bootable_recovery-b3ddc0a4bf4334fa114d2b1716675d29a7024c1f.tar android_bootable_recovery-b3ddc0a4bf4334fa114d2b1716675d29a7024c1f.tar.gz android_bootable_recovery-b3ddc0a4bf4334fa114d2b1716675d29a7024c1f.tar.bz2 android_bootable_recovery-b3ddc0a4bf4334fa114d2b1716675d29a7024c1f.tar.lz android_bootable_recovery-b3ddc0a4bf4334fa114d2b1716675d29a7024c1f.tar.xz android_bootable_recovery-b3ddc0a4bf4334fa114d2b1716675d29a7024c1f.tar.zst android_bootable_recovery-b3ddc0a4bf4334fa114d2b1716675d29a7024c1f.zip |
-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); |