1
0
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:
Andreas Schneider 2011-02-22 12:15:09 +01:00 committed by Günther Deschner
parent a45353b3e2
commit c80e519cdc

View File

@ -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;
}