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