diff options
author | Stefan Metzmacher <metze@samba.org> | 2010-03-15 14:42:17 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2010-03-15 15:08:24 +0100 |
commit | 386f15c62bb4d3517de719c750252e06cf3b1fb1 (patch) | |
tree | 51475271d8c1a56c1feac3c280c2c140894f5329 /source3 | |
parent | d23581b4d7a4936002c1d2d748836aead9215120 (diff) | |
download | samba-386f15c62bb4d3517de719c750252e06cf3b1fb1.tar.gz samba-386f15c62bb4d3517de719c750252e06cf3b1fb1.tar.bz2 samba-386f15c62bb4d3517de719c750252e06cf3b1fb1.zip |
s3:smbd: make sure we always have a valid talloc stackframe
metze
Diffstat (limited to 'source3')
-rw-r--r-- | source3/smbd/server.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/smbd/server.c b/source3/smbd/server.c index 5347bb9c03..d3fc499aef 100644 --- a/source3/smbd/server.c +++ b/source3/smbd/server.c @@ -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); } |