rpcrt4: Free the resources associated with server protocol sequences on DLL unload.

Rob Shearman robertshearman at gmail.com
Fri Mar 20 11:10:42 CDT 2009


---
 dlls/rpcrt4/rpc_server.c  |   58 +++++++++++++++++++++++++++++++-------------
 dlls/rpcrt4/rpc_server.h  |    2 +
 dlls/rpcrt4/rpcrt4_main.c |    2 +
 3 files changed, 45 insertions(+), 17 deletions(-)

Also fixes Valgrind warnings about leaked memory on process exit. Long
term, we probably want to say to Valgrind "show leaks at this point
and stop tracking them". Also it should be noted that Windows
terminates all other threads on ExitProcess, whereas Wine doesn't -
this code will need to be changed to differentiate between DLL unload
and process exit when that behaviour is fixed.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 7955ae592ce2118cb9da7952eb41f32a2d637dfa.diff
Type: text/x-patch
Size: 3607 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20090320/3faa7c24/attachment-0001.bin>


More information about the wine-patches mailing list