summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDevin Kim <dojip.kim@lge.com>2012-10-10 06:20:58 +0200
committerAndroid Git Automerger <android-git-automerger@android.com>2012-10-10 06:20:58 +0200
commit44df5c8692d37e2d5e729b52b908e1a49df83a84 (patch)
treec3c3d35ebb06e219bf41460f70c98ebd6ee828d3
parentam 2c3d1d83: (-s ours) Reconcile with jb-mr1-release - do not merge (diff)
parentam 6016d08b: recovery: fix failure to unmount "/cache" (diff)
downloadandroid_bootable_recovery-44df5c8692d37e2d5e729b52b908e1a49df83a84.tar
android_bootable_recovery-44df5c8692d37e2d5e729b52b908e1a49df83a84.tar.gz
android_bootable_recovery-44df5c8692d37e2d5e729b52b908e1a49df83a84.tar.bz2
android_bootable_recovery-44df5c8692d37e2d5e729b52b908e1a49df83a84.tar.lz
android_bootable_recovery-44df5c8692d37e2d5e729b52b908e1a49df83a84.tar.xz
android_bootable_recovery-44df5c8692d37e2d5e729b52b908e1a49df83a84.tar.zst
android_bootable_recovery-44df5c8692d37e2d5e729b52b908e1a49df83a84.zip
-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);
}
}