msxml3: Fix double-free of BSTR in domdoc tests.
authorRob Shearman <robertshearman@gmail.com>
Wed, 2 Dec 2009 14:21:54 +0000 (14:21 +0000)
committerAlexandre Julliard <julliard@winehq.org>
Wed, 2 Dec 2009 15:08:52 +0000 (16:08 +0100)
commit211e4fc0fe0c52236631576da1e187e2bdf32ba5
tree9822cfb13d3fa827b96558045ddc55a027984e30
parentb84201dca5a09c2ce8b2bfb0f01b590bf2b5fa2e
msxml3: Fix double-free of BSTR in domdoc tests.

Using the _bstr_ allocator adds the returned string to a cache, so the
string shouldn't be freed with SysFreeString. Therefore, just replace
the lone call to _bstr_ in this function by a straight call to
SysAllocString.
dlls/msxml3/tests/domdoc.c