mirror of
https://github.com/samba-team/samba.git
synced 2025-02-03 13:47:25 +03:00
s3-librpc: Free memory we don't need.
Signed-off-by: Günther Deschner <gd@samba.org>
This commit is contained in:
parent
a45353b3e2
commit
c80e519cdc
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user