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:
7696439
)
stackframe-children1
author
Stefan Metzmacher
<metze@samba.org>
Sat, 12 Oct 2013 00:11:38 +0000
(
02:11
+0200)
committer
Stefan Metzmacher
<metze@samba.org>
Wed, 12 Mar 2014 23:04:45 +0000
(
00:04
+0100)
source3/smbd/process.c
patch
|
blob
|
history
diff --git
a/source3/smbd/process.c
b/source3/smbd/process.c
index 9457000f4059a7afe2b405c05e24b9ffdcc50d53..d8bd1b8f3fafa78cf5b52c87eb45c93baf3c8d93 100644
(file)
--- a/
source3/smbd/process.c
+++ b/
source3/smbd/process.c
@@
-3725,8
+3725,8
@@
void smbd_process(struct tevent_context *ev_ctx,
tevent_set_trace_callback(ev_ctx, smbd_tevent_trace_callback, conn);
+ frame = talloc_stackframe_pool(8192);
while (True) {
- frame = talloc_stackframe_pool(8192);
errno = 0;
if (tevent_loop_once(ev_ctx) == -1) {
@@
-3737,7
+3737,7
@@
void smbd_process(struct tevent_context *ev_ctx,
}
}
-
TALLOC_FREE
(frame);
+
talloc_free_children
(frame);
}
exit_server_cleanly(NULL);