commit | 24464be6390bc61a0f0e17890fbfc9c581434e29 | [log] [tgz] |
---|---|---|
author | Lin Yi-Li <record.nctu.cis91@gmail.com> | Thu May 10 16:14:55 2012 +0800 |
committer | Daniel Veillard <veillard@redhat.com> | Thu May 10 16:14:55 2012 +0800 |
tree | 2ccda2d899709a84de59a2649770b902061c115a | |
parent | 868d92da8915fc5dc5e329d93cc7882370a28475 [diff] |
Avoid memory leak if xmlParserInputBufferCreateIO fails For https://bugzilla.gnome.org/show_bug.cgi?id=643949 In case of error on an IO creation input the given context is terminated with the given close function, except if the error happened in xmlParserInputBufferCreateIO. This can lead to a resource leak which is fixed by this patch.