summaryrefslogtreecommitdiffstats
path: root/recovery.cpp
diff options
context:
space:
mode:
authorDevin Kim <dojip.kim@lge.com>2012-10-08 18:47:37 +0200
committerIliyan Malchev <malchev@google.com>2012-10-09 01:34:00 +0200
commit6016d08b0c3b682f1f7000b42a9ea4b6b6d74f22 (patch)
treec3c3d35ebb06e219bf41460f70c98ebd6ee828d3 /recovery.cpp
parentrevert to tacky 3D recovery animation (diff)
downloadandroid_bootable_recovery-6016d08b0c3b682f1f7000b42a9ea4b6b6d74f22.tar
android_bootable_recovery-6016d08b0c3b682f1f7000b42a9ea4b6b6d74f22.tar.gz
android_bootable_recovery-6016d08b0c3b682f1f7000b42a9ea4b6b6d74f22.tar.bz2
android_bootable_recovery-6016d08b0c3b682f1f7000b42a9ea4b6b6d74f22.tar.lz
android_bootable_recovery-6016d08b0c3b682f1f7000b42a9ea4b6b6d74f22.tar.xz
android_bootable_recovery-6016d08b0c3b682f1f7000b42a9ea4b6b6d74f22.tar.zst
android_bootable_recovery-6016d08b0c3b682f1f7000b42a9ea4b6b6d74f22.zip
Diffstat (limited to '')
-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);
}
}