[2/4] msxml3: Properly update xmldoc refcounts on insertBefore()
Nikolay Sivov
nsivov at codeweavers.com
Mon Mar 7 05:45:02 CST 2011
insertBefore() is able to work on nodes from different documents, so on
adding child or sibling it's possible that libxml2 switches doc pointer
for a node, we need to update refcounts to cover that case.
Added test will show this problem under valgrind - one leak and one
invalid read for already freed document.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0004-Properly-update-xmldoc-refcounts-on-insertBefore.patch
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20110307/e29f89ae/attachment.txt>
More information about the wine-patches
mailing list