aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDevin Kim <dojip.kim@lge.com>2012-10-09 21:20:58 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2012-10-09 21:20:58 -0700
commit44df5c8692d37e2d5e729b52b908e1a49df83a84 (patch)
treec3c3d35ebb06e219bf41460f70c98ebd6ee828d3
parent3abfe0911e1b5b542dd8c02b186e6a7df9926476 (diff)
parent4b57f8f2affade295ec856e2bc63ba02e9f079c4 (diff)
downloadbootable_recovery-44df5c8692d37e2d5e729b52b908e1a49df83a84.zip
bootable_recovery-44df5c8692d37e2d5e729b52b908e1a49df83a84.tar.gz
bootable_recovery-44df5c8692d37e2d5e729b52b908e1a49df83a84.tar.bz2
am 4b57f8f2: am 6016d08b: recovery: fix failure to unmount "/cache"
* commit '4b57f8f2affade295ec856e2bc63ba02e9f079c4': 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);
}
}