rpcrt4: Fix memory leak of 0-byte buffer allocated during processing of bind packets.
commit34dd53425081f135ed6a3382778afd486df6e735
authorRob Shearman <robertshearman@gmail.com>
Fri, 12 Sep 2008 11:58:39 +0000 (12 12:58 +0100)
committerAlexandre Julliard <julliard@winehq.org>
Fri, 12 Sep 2008 14:49:56 +0000 (12 16:49 +0200)
treeeefc2920a648ae0c0a53fa062b41515421abf93d
parentffd37b0eeca1b20138d2f3b24402559a2f9f9919
rpcrt4: Fix memory leak of 0-byte buffer allocated during processing of bind packets.

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