summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDevin Kim <dojip.kim@lge.com>2012-10-09 21:19:44 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2012-10-09 21:19:44 -0700
commit4b57f8f2affade295ec856e2bc63ba02e9f079c4 (patch)
treec3c3d35ebb06e219bf41460f70c98ebd6ee828d3
parent2c3d1d83d5f28160baa5cbec782d518fa186af73 (diff)
parent6016d08b0c3b682f1f7000b42a9ea4b6b6d74f22 (diff)
downloadbootable_recovery-4b57f8f2affade295ec856e2bc63ba02e9f079c4.zip
bootable_recovery-4b57f8f2affade295ec856e2bc63ba02e9f079c4.tar.gz
bootable_recovery-4b57f8f2affade295ec856e2bc63ba02e9f079c4.tar.bz2
am 6016d08b: recovery: fix failure to unmount "/cache"
* commit '6016d08b0c3b682f1f7000b42a9ea4b6b6d74f22': recovery: fix failure to unmount "/cache"
-rw-r--r--recovery.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/recovery.cpp b/recovery.cpp
index 5c1e3cd..594774f 100644
--- a/recovery.cpp
+++ b/recovery.cpp
@@ -798,6 +798,7 @@ load_locale_from_cache() {
}
buffer[j] = 0;
locale = strdup(buffer);
+ check_and_fclose(fp, LOCALE_FILE);
}
}