commit | b30296b5fda75bf383c7ab3f567eb41820747869 | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Tue Oct 29 15:25:52 2013 -0700 |
committer | Adam Lesinski <adamlesinski@google.com> | Mon Jan 27 10:31:08 2014 -0800 |
tree | 1c6745cc073dcaa88b2840e24623079018c0135f | |
parent | 2675f769673f69b0661ddee346292f25cb30a296 [diff] [blame] |
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
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 @@ 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);