diff options
author | Jeremy Allison <jra@samba.org> | 2000-11-22 19:42:54 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2000-11-22 19:42:54 +0000 |
commit | b935b968ec0bf595940824cff2e0462badadf7a4 (patch) | |
tree | 140c7ef2e47b46adb2bd00f85b196d675d74593e /source3 | |
parent | a69a1a87d8f6fece120c423e473b6f67b7a6bb8e (diff) | |
download | samba-b935b968ec0bf595940824cff2e0462badadf7a4.tar.gz samba-b935b968ec0bf595940824cff2e0462badadf7a4.tar.bz2 samba-b935b968ec0bf595940824cff2e0462badadf7a4.zip |
Free talloc'ed memory from the main smbd. Patch from Rich Bollinger, Elliott Company
Jeremy.
(This used to be commit e041b144b2c7c6c9fdd6cd20256a197876aaf353)
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 823536f2ab..3ad2aa5b0f 100644 --- a/source3/smbd/server.c +++ b/source3/smbd/server.c @@ -197,6 +197,9 @@ max can be %d\n", fd_set lfds; int num; + /* Free up temporary memory from the main smbd. */ + lp_talloc_free(); + memcpy((char *)&lfds, (char *)&listen_set, sizeof(listen_set)); |