git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
238b35d
)
r11368: Remove a memleak that just cost me half an hour: If we terminate inside a
author
Volker Lendecke
<vlendec@samba.org>
Fri, 28 Oct 2005 09:15:27 +0000
(09:15 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 16:05:14 +0000
(11:05 -0500)
message handler, the list of messages from retrieve_all_messages is not
properly freed. Not important, just confusing :-)
Volker
source/nsswitch/winbindd.c
patch
|
blob
|
history
diff --git
a/source/nsswitch/winbindd.c
b/source/nsswitch/winbindd.c
index 56e0f16bcb2b29ffc1b34469adbdd8307b1c482a..a62fd32b20df6ce1654751111da2a934ddc695db 100644
(file)
--- a/
source/nsswitch/winbindd.c
+++ b/
source/nsswitch/winbindd.c
@@
-213,7
+213,7
@@
static void msg_reload_services(int msg_type, struct process_id src, void *buf,
/* React on 'smbcontrol winbindd shutdown' in the same way as on SIGTERM*/
static void msg_shutdown(int msg_type, struct process_id src, void *buf, size_t len)
{
-
terminate()
;
+
do_sigterm = True
;
}
static struct winbindd_dispatch_table {