diff options
author | Swen Schillig <swen@linux.ibm.com> | 2019-08-19 14:11:54 +0200 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2019-08-22 00:21:50 +0000 |
commit | 355c9f5aca2af8db793bc3e695dc9b0d37e86483 (patch) | |
tree | a228d600966ec3e373bed00e55b42ce7230d4c03 /source3/rpcclient | |
parent | 968f72041021ccc0301220833f987dad8e3b9364 (diff) | |
download | samba-355c9f5aca2af8db793bc3e695dc9b0d37e86483.tar.gz |
rpcclient: free popt context when done
If done with popt context it should be free'd.
Signed-off-by: Swen Schillig <swen@linux.ibm.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Ralph Böhme <slow@samba.org>
Diffstat (limited to 'source3/rpcclient')
-rw-r--r-- | source3/rpcclient/cmd_witness.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/rpcclient/cmd_witness.c b/source3/rpcclient/cmd_witness.c index 733424beac3..f5f0c6293fd 100644 --- a/source3/rpcclient/cmd_witness.c +++ b/source3/rpcclient/cmd_witness.c @@ -213,6 +213,7 @@ static WERROR cmd_witness_Register(struct rpc_pipe_client *cli, d_printf("%x:%s\n", hnd.handle_type, GUID_string(frame, &hnd.uuid)); done: + poptFreeContext(optCon); talloc_free(frame); return result; } |