]> git.saurik.com Git - wxWidgets.git/commit
Fix memory leaks in wxXml unit test.
authorVadim Zeitlin <vadim@wxwidgets.org>
Wed, 30 Mar 2011 14:16:13 +0000 (14:16 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Wed, 30 Mar 2011 14:16:13 +0000 (14:16 +0000)
commite8afaabf01ded18254f0627ae65f1bbb29cc4884
tree7d79318725f2d86034587fac3cedecf7b4066477
parentc180fd77f4e73bba44a264f80dee83664b4ff6df
Fix memory leaks in wxXml unit test.

Ensure that the root wxXmlNode is deleted by storing it in a wxScopedPtr
instead of a raw pointer.

See #11593.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67345 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
tests/xml/xmltest.cpp