[PATCH 2/2] rpcrt4: Free the memory allocated for the protseq and endpoint strings allocated in RpcServerUseProtseq* functions.

Rob Shearman robertshearman at gmail.com
Sun Mar 29 12:42:35 CDT 2009


Make a copy of the protseq string in alloc_serverprotoseq to simplify
memory management in higher-level functions.
---
 dlls/rpcrt4/rpc_server.c    |   31 ++++++++++++++++++-------------
 dlls/rpcrt4/rpc_server.h    |    2 +-
 dlls/rpcrt4/rpc_transport.c |    6 +++---
 3 files changed, 22 insertions(+), 17 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: d0786b54f981a61c1bc3d317d86c8a69e689180a.diff
Type: text/x-patch
Size: 6990 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20090329/4a514328/attachment.bin>


More information about the wine-patches mailing list