1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

r8819: fixed a memory leak in irpc_call()

(This used to be commit 25b7524ce5)
This commit is contained in:
Andrew Tridgell 2005-07-28 04:09:11 +00:00 committed by Gerald (Jerry) Carter
parent 27f457e3a8
commit ba759b4c86

View File

@ -717,7 +717,9 @@ NTSTATUS irpc_call(struct messaging_context *msg_ctx,
{
struct irpc_request *irpc = irpc_call_send(msg_ctx, server_id,
table, callnum, r);
return irpc_call_recv(irpc);
NTSTATUS status = irpc_call_recv(irpc);
talloc_free(irpc);
return status;
}
/*