git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7ad7359
)
stackframe-children2
author
Stefan Metzmacher
<metze@samba.org>
Sat, 12 Oct 2013 00:11:52 +0000
(
02:11
+0200)
committer
Stefan Metzmacher
<metze@samba.org>
Wed, 12 Mar 2014 23:04:46 +0000
(
00:04
+0100)
source3/smbd/process.c
patch
|
blob
|
history
diff --git
a/source3/smbd/process.c
b/source3/smbd/process.c
index d8bd1b8f3fafa78cf5b52c87eb45c93baf3c8d93..849be4184caf0a6c89a8be81888cfd687bddfbb4 100644
(file)
--- a/
source3/smbd/process.c
+++ b/
source3/smbd/process.c
@@
-3738,6
+3738,10
@@
void smbd_process(struct tevent_context *ev_ctx,
}
talloc_free_children(frame);
+ if (talloc_total_blocks(frame) > 1) {
+ TALLOC_FREE(frame);
+ frame = talloc_stackframe_pool(8192);
+ }
}
exit_server_cleanly(NULL);