1
0
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:
Stefan Metzmacher 2010-03-15 14:42:17 +01:00
parent d23581b4d7
commit 386f15c62b

View File

@ -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);
}