diff options
author | Andreas Schneider <asn@samba.org> | 2011-02-22 12:15:09 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2011-03-08 11:41:28 +0100 |
commit | c80e519cdc5ed4db04d4102ce71436b16be648ea (patch) | |
tree | efa5e1dd6e64fe4437e03d0d2931367655eb0c0c /source3/librpc | |
parent | a45353b3e2e0a8dd5f9055c50e0d38bce7dda22c (diff) | |
download | samba-c80e519cdc5ed4db04d4102ce71436b16be648ea.tar.gz samba-c80e519cdc5ed4db04d4102ce71436b16be648ea.tar.bz2 samba-c80e519cdc5ed4db04d4102ce71436b16be648ea.zip |
s3-librpc: Free memory we don't need.
Signed-off-by: Günther Deschner <gd@samba.org>
Diffstat (limited to 'source3/librpc')
-rw-r--r-- | source3/librpc/rpc/dcerpc_ep.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/librpc/rpc/dcerpc_ep.c b/source3/librpc/rpc/dcerpc_ep.c index bda24a6865..7e980e9bf4 100644 --- a/source3/librpc/rpc/dcerpc_ep.c +++ b/source3/librpc/rpc/dcerpc_ep.c @@ -83,6 +83,7 @@ NTSTATUS dcerpc_binding_vector_create(TALLOC_CTX *mem_ctx, break; case NCACN_IP_TCP: if (port == 0) { + talloc_free(b); continue; } @@ -96,6 +97,7 @@ NTSTATUS dcerpc_binding_vector_create(TALLOC_CTX *mem_ctx, case NCALRPC: /* TODO */ default: + talloc_free(b); continue; } |