diff options
author | Doug Zongker <dougz@android.com> | 2010-09-15 16:32:52 -0700 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2010-09-15 16:32:52 -0700 |
commit | 6b1ff61f62db82adf8e47c121cd13c29831ad21b (patch) | |
tree | 8c6fc308e9e26895a46aca7ba7e930dd83fe6a44 /updater | |
parent | 4f69afdb631a2480d466505635cde3a1d61e3610 (diff) | |
parent | 858f0a763d0f736eb721f54257b6164886bfcbfc (diff) | |
download | bootable_recovery-6b1ff61f62db82adf8e47c121cd13c29831ad21b.zip bootable_recovery-6b1ff61f62db82adf8e47c121cd13c29831ad21b.tar.gz bootable_recovery-6b1ff61f62db82adf8e47c121cd13c29831ad21b.tar.bz2 |
am 858f0a76: am 8e5e4dad: close update package before installing; allow remount
Merge commit '858f0a763d0f736eb721f54257b6164886bfcbfc'
* commit '858f0a763d0f736eb721f54257b6164886bfcbfc':
close update package before installing; allow remount
Diffstat (limited to 'updater')
-rw-r--r-- | updater/updater.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/updater/updater.c b/updater/updater.c index 6537a94..aa626d2 100644 --- a/updater/updater.c +++ b/updater/updater.c @@ -136,7 +136,9 @@ int main(int argc, char** argv) { free(result); } - mzCloseZipArchive(&za); + if (updater_info.package_zip) { + mzCloseZipArchive(updater_info.package_zip); + } free(script); return 0; |