advapi32: Fix leak in test_symlinks.

Dan Kegel dank at kegel.com
Tue Feb 16 22:59:25 CST 2010


Fixes the fresh leak
http://kegel.com/wine/valgrind/logs/2010-02-16-16.58/diff-advapi32_registry.txt
 46 bytes in 1 blocks are definitely lost
    at  notify_alloc (heap.c:254)
    by  RtlAllocateHeap (heap.c:1700)
    by  RtlFormatCurrentUserKeyPath (reg.c:846)
    by  test_symlinks (registry.c:1527)
    by  func_registry (registry.c:1655)

(Perhaps we should win_skip if RtlFormatCurrentUserKeyPath fails in
test_symlinks, but that doesn't seem likely?)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-advapi32-Fix-leak-in-test_symlinks.patch
Type: text/x-patch
Size: 1448 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20100216/20956590/attachment-0001.bin>


More information about the wine-patches mailing list