commit | 6a1fadea851db236331b3dfe1f3c1e482556057f | [log] [tgz] |
---|---|---|
author | Marco Nelissen | Mon Apr 20 16:16:01 2009 -0700 |
committer | The Android Open Source Project <initial-contribution@android.com> | Mon Apr 20 16:16:01 2009 -0700 |
tree | ec5174266cd02bb0010ca51d687a20ba7d3a3b38 | |
parent | e38e90bf222515538281cc73c5e4a9f3c269c875 [diff] [blame] |
AI 147028: Fix up aapt so it runs cleanly under the valgrind leak checker. Automated import of CL 147028
diff --git a/tools/aapt/XMLNode.cpp b/tools/aapt/XMLNode.cpp index d476567..50a2185 100644 --- a/tools/aapt/XMLNode.cpp +++ b/tools/aapt/XMLNode.cpp
@@ -486,6 +486,7 @@ XMLNode::XMLNode(const String8& filename) : mFilename(filename) { + memset(&mCharsValue, 0, sizeof(mCharsValue)); } XMLNode::type XMLNode::getType() const