Commit 24464be6390bc61a0f0e17890fbfc9c581434e29

Lin Yi-Li 2012-05-10T16:14:55

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.