summaryrefslogtreecommitdiffstats
path: root/recovery.cpp
diff options
context:
space:
mode:
authorDevin Kim <dojip.kim@lge.com>2012-10-10 06:19:44 +0200
committerAndroid Git Automerger <android-git-automerger@android.com>2012-10-10 06:19:44 +0200
commit4b57f8f2affade295ec856e2bc63ba02e9f079c4 (patch)
treec3c3d35ebb06e219bf41460f70c98ebd6ee828d3 /recovery.cpp
parentReconcile with jb-mr1-release - do not merge (diff)
parentrecovery: fix failure to unmount "/cache" (diff)
downloadandroid_bootable_recovery-4b57f8f2affade295ec856e2bc63ba02e9f079c4.tar
android_bootable_recovery-4b57f8f2affade295ec856e2bc63ba02e9f079c4.tar.gz
android_bootable_recovery-4b57f8f2affade295ec856e2bc63ba02e9f079c4.tar.bz2
android_bootable_recovery-4b57f8f2affade295ec856e2bc63ba02e9f079c4.tar.lz
android_bootable_recovery-4b57f8f2affade295ec856e2bc63ba02e9f079c4.tar.xz
android_bootable_recovery-4b57f8f2affade295ec856e2bc63ba02e9f079c4.tar.zst
android_bootable_recovery-4b57f8f2affade295ec856e2bc63ba02e9f079c4.zip
Diffstat (limited to 'recovery.cpp')
-rw-r--r--recovery.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/recovery.cpp b/recovery.cpp
index 5c1e3cd21..594774f5a 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);
}
}