diff options
author | Elliott Hughes <enh@google.com> | 2013-10-29 15:25:52 -0700 |
---|---|---|
committer | Adam Lesinski <adamlesinski@google.com> | 2014-01-27 10:31:08 -0800 |
commit | b30296b5fda75bf383c7ab3f567eb41820747869 (patch) | |
tree | 1c6745cc073dcaa88b2840e24623079018c0135f /tools/aidl | |
parent | 2675f769673f69b0661ddee346292f25cb30a296 (diff) | |
download | frameworks_base-b30296b5fda75bf383c7ab3f567eb41820747869.zip frameworks_base-b30296b5fda75bf383c7ab3f567eb41820747869.tar.gz frameworks_base-b30296b5fda75bf383c7ab3f567eb41820747869.tar.bz2 |
Re-apply several tools fixes lost by the directory rearrangement.
Leaks on error in tools/aapt/Images.cpp.
https://code.google.com/p/android/issues/detail?id=61552
Two missing fclose calls in tools/aapt/Resource.cpp.
https://code.google.com/p/android/issues/detail?id=61553
Missing fclose in tools/aidl/aidl.cpp.
https://code.google.com/p/android/issues/detail?id=61554
Change-Id: I56ce144958296961b77354815efc1a245564594b
Diffstat (limited to 'tools/aidl')
-rw-r--r-- | tools/aidl/aidl.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/aidl/aidl.cpp b/tools/aidl/aidl.cpp index b8a4803..9c1867e 100644 --- a/tools/aidl/aidl.cpp +++ b/tools/aidl/aidl.cpp @@ -847,6 +847,7 @@ parse_preprocessed_file(const string& filename) else { fprintf(stderr, "%s:%d: bad type in line: %s\n", filename.c_str(), lineno, line); + fclose(f); return 1; } err = gather_types(filename.c_str(), doc); |