mirror of
https://github.com/samba-team/samba.git
synced 2024-12-24 21:34:56 +03:00
s3:smbd: make sure we always have a valid talloc stackframe
metze
This commit is contained in:
parent
d23581b4d7
commit
386f15c62b
@ -1338,9 +1338,12 @@ extern void build_options(bool screen);
|
||||
exit_server("open_sockets_smbd() failed");
|
||||
|
||||
TALLOC_FREE(frame);
|
||||
/* make sure we always have a valid stackframe */
|
||||
frame = talloc_stackframe();
|
||||
|
||||
smbd_parent_loop(parent);
|
||||
|
||||
exit_server_cleanly(NULL);
|
||||
TALLOC_FREE(frame);
|
||||
return(0);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user