[2/4] msxml3: Properly update xmldoc refcounts on insertBefore()
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...
More information about the wine-patches