mirror of
https://github.com/samba-team/samba.git
synced 2025-02-23 09:57:40 +03:00
Fix a valgrind error
This commit is contained in:
parent
85eccea0b4
commit
8dbfd59adc
@ -367,7 +367,11 @@ static void smbd_accept_connection(struct tevent_context *ev,
|
||||
descriptors */
|
||||
close_low_fds(False);
|
||||
|
||||
TALLOC_FREE(s->parent);
|
||||
/*
|
||||
* Can't use TALLOC_FREE here. Nulling out the argument to it
|
||||
* would overwrite memory we've just freed.
|
||||
*/
|
||||
talloc_free(s->parent);
|
||||
s = NULL;
|
||||
|
||||
if (!reinit_after_fork(
|
||||
|
Loading…
x
Reference in New Issue
Block a user