advapi32: replace SERV_free by HeapFree.

Lionel_Debroux lionel_debroux at yahoo.fr
Wed Sep 12 06:13:24 CDT 2007


Uses of the SERV_free(item) function got flagged in Michael Stefaniuc's
list of potential Wine bugs detected by Smatch. Since it just does a
HeapFree(GetProcessHeap(), 0, item)
(i.e. no special treatments that would make a special "free" function
necessary), Michael suggested that I removed it, adding a comment on the
functions that allocate the data which was freed by SERV_free.

2007-09-06  Lionel Debroux <lionel_debroux at yahoo.fr>
       * dlls/advapi32/service.c
       advapi32: replace SERV_free by HeapFree.



-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-advapi32-replace-SERV_free-by-HeapFree.patch
Type: text/x-patch
Size: 6749 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20070912/a87ee004/0001-advapi32-replace-SERV_free-by-HeapFree.bin


More information about the wine-patches mailing list