mirror of
https://github.com/samba-team/samba.git
synced 2024-12-24 21:34:56 +03:00
r8819: fixed a memory leak in irpc_call()
(This used to be commit 25b7524ce5
)
This commit is contained in:
parent
27f457e3a8
commit
ba759b4c86
@ -717,7 +717,9 @@ NTSTATUS irpc_call(struct messaging_context *msg_ctx,
|
|||||||
{
|
{
|
||||||
struct irpc_request *irpc = irpc_call_send(msg_ctx, server_id,
|
struct irpc_request *irpc = irpc_call_send(msg_ctx, server_id,
|
||||||
table, callnum, r);
|
table, callnum, r);
|
||||||
return irpc_call_recv(irpc);
|
NTSTATUS status = irpc_call_recv(irpc);
|
||||||
|
talloc_free(irpc);
|
||||||
|
return status;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
Reference in New Issue
Block a user