netapi32: Free the correct pointers.

Huw Davies huw at codeweavers.com
Thu Jun 19 08:13:51 CDT 2008


Fixes Valgrind warnings like:

 Invalid free() / delete / delete[]
    at  notify_free (heap.c:199)
    by  RtlFreeHeap (heap.c:1284)
    by  DsRoleFreeMemory (ds.c:73)
    by  test_get (ds.c:63)
    by  func_ds (ds.c:87)
    by  run_test (test.h:449)
    by  main (test.h:498)
---
 dlls/netapi32/ds.c       |    1 +
 dlls/netapi32/tests/ds.c |    6 +++---
 2 files changed, 4 insertions(+), 3 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: da6f50c943d423f346816eedb70ad41862119cca.diff
Type: text/x-patch
Size: 1497 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20080619/0d8aa410/attachment.bin 


More information about the wine-patches mailing list