rpcrt4: Fix memory leak of 0-byte buffer allocated during processing of bind packets.

Rob Shearman robertshearman at gmail.com
Fri Sep 12 06:58:39 CDT 2008

In this case conn->server_binding will be NULL and consequently
bind->Handle will be NULL, causing I_RpcFreeBuffer to fail. Therefore
just use I_RpcFree to free the buffer as that is just what
I_RpcFreeBuffer does under the hood anyway.
 dlls/rpcrt4/rpc_server.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 409ecd9912b0638fb8a04eab9f9c8bb59171fab7.diff
Type: text/x-patch
Size: 416 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20080912/255c9c3d/attachment.bin 

More information about the wine-patches mailing list