diff options
author | evan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-07-16 19:33:57 +0000 |
---|---|---|
committer | evan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-07-16 19:33:57 +0000 |
commit | a850e9592bb1a8c43275116ff565c91b4b1cb66b (patch) | |
tree | e2f9e64fbcfdb87a7693dcb9250e66082290cc5f /third_party/libxml/runsuite.c | |
parent | efa0151b9f7a4389a86334ef75fa0ce138c9778e (diff) | |
download | chromium_src-a850e9592bb1a8c43275116ff565c91b4b1cb66b.zip chromium_src-a850e9592bb1a8c43275116ff565c91b4b1cb66b.tar.gz chromium_src-a850e9592bb1a8c43275116ff565c91b4b1cb66b.tar.bz2 |
Update libxml to 2.7.7.
In doing so, I recreated all the patches and organized them under
a patches/ subdirectory.
BUG=32197
Review URL: http://codereview.chromium.org/2951008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52725 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'third_party/libxml/runsuite.c')
-rw-r--r-- | third_party/libxml/runsuite.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/third_party/libxml/runsuite.c b/third_party/libxml/runsuite.c index 744875c..e6545fb 100644 --- a/third_party/libxml/runsuite.c +++ b/third_party/libxml/runsuite.c @@ -307,7 +307,7 @@ getString(xmlNodePtr cur, const char *xpath) { * * ************************************************************************/ -static int +static int xsdIncorectTestCase(xmlNodePtr cur) { xmlNodePtr test; xmlBufferPtr buf; @@ -319,7 +319,7 @@ xsdIncorectTestCase(xmlNodePtr cur) { if (cur == NULL) { return(0); } - + test = getNext(cur, "./*"); if (test == NULL) { test_log("Failed to find test in correct line %ld\n", @@ -358,7 +358,7 @@ done: if (rng != NULL) xmlRelaxNGFree(rng); xmlResetLastError(); - if ((memt != xmlMemUsed()) && (extraMemoryFromResolver == 0)) { + if ((memt < xmlMemUsed()) && (extraMemoryFromResolver == 0)) { test_log("Validation of tests starting line %ld leaked %d\n", xmlGetLineNo(cur), xmlMemUsed() - memt); nb_leaks++; |