mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +03:00
r11368: Remove a memleak that just cost me half an hour: If we terminate inside a
message handler, the list of messages from retrieve_all_messages is not
properly freed. Not important, just confusing :-)
Volker
(This used to be commit d20388750d
)
This commit is contained in:
parent
f9b7505429
commit
20299e5bf5
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user