diff options
author | Daniel Veillard <veillard@redhat.com> | 2009-09-11 15:30:19 +0200 |
---|---|---|
committer | Daniel Veillard <veillard@redhat.com> | 2009-09-11 15:30:19 +0200 |
commit | 84bff68e03824d14b0e2cd58167303ec0b13c840 (patch) | |
tree | 3fe58546c64ede3b7c1f4c66a55b63ed2a93fb21 /xmllint.c | |
parent | 293416828e1467f877d9dd928f174dcf81b103bc (diff) | |
download | android_external_libxml2-84bff68e03824d14b0e2cd58167303ec0b13c840.tar.gz android_external_libxml2-84bff68e03824d14b0e2cd58167303ec0b13c840.tar.bz2 android_external_libxml2-84bff68e03824d14b0e2cd58167303ec0b13c840.zip |
594874 Forgot an fclose in xmllint
* xmllint.c: as pointed out by Pavol Rusnak, an fclose was missing
in some case.
Diffstat (limited to 'xmllint.c')
-rw-r--r-- | xmllint.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -2175,6 +2175,8 @@ static void parseAndPrintFile(char *filename, xmlParserCtxtPtr rectxt) { doc = NULL; } } + if (f != stdin) + fclose(f); } } else #endif /* LIBXML_PUSH_ENABLED */ |