diff options
author | Jeremy Allison <jra@samba.org> | 2005-12-16 00:10:59 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 11:05:51 -0500 |
commit | 5cab88f1444177129bb5521ccc4afd8869e9bf25 (patch) | |
tree | 40624bbcc0f8c360287e25a357234f77cb69f3ad /source/rpc_client | |
parent | 266f5fc9af6a07bc1f1432e716e6c528e9048533 (diff) | |
download | samba-5cab88f1444177129bb5521ccc4afd8869e9bf25.tar.gz samba-5cab88f1444177129bb5521ccc4afd8869e9bf25.tar.xz samba-5cab88f1444177129bb5521ccc4afd8869e9bf25.zip |
r12275: Fix memory leak found by Mikhail Kshevetskiy <kl@laska.dorms.spbu.ru>
and followed up by derrell@samba.org.
Jeremy.
Diffstat (limited to 'source/rpc_client')
-rw-r--r-- | source/rpc_client/cli_pipe.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/rpc_client/cli_pipe.c b/source/rpc_client/cli_pipe.c index e1143e63423..23c66acf26e 100644 --- a/source/rpc_client/cli_pipe.c +++ b/source/rpc_client/cli_pipe.c @@ -789,6 +789,8 @@ static NTSTATUS rpc_api_pipe(struct rpc_pipe_client *cli, (unsigned int)cli->fnum, cli_errstr(cli->cli))); ret = cli_get_nt_error(cli->cli); + SAFE_FREE(rparam); + SAFE_FREE(prdata); goto err; } |