mirror of
https://github.com/samba-team/samba.git
synced 2025-02-12 21:58:10 +03:00
r19066: Fix a memleak
This commit is contained in:
parent
45628f71cf
commit
c53e2e5475
@ -350,6 +350,7 @@ enum winbindd_result init_child_connection(struct winbindd_domain *domain,
|
|||||||
|
|
||||||
if ((request == NULL) || (response == NULL) || (state == NULL)) {
|
if ((request == NULL) || (response == NULL) || (state == NULL)) {
|
||||||
DEBUG(0, ("talloc failed\n"));
|
DEBUG(0, ("talloc failed\n"));
|
||||||
|
TALLOC_FREE(mem_ctx);
|
||||||
continuation(private_data, False);
|
continuation(private_data, False);
|
||||||
return WINBINDD_ERROR;
|
return WINBINDD_ERROR;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user