diff options
Diffstat (limited to 'source3/smbd/server_exit.c')
-rw-r--r-- | source3/smbd/server_exit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/server_exit.c b/source3/smbd/server_exit.c index 6c46a522d4..c4e1a2fcea 100644 --- a/source3/smbd/server_exit.c +++ b/source3/smbd/server_exit.c @@ -97,7 +97,7 @@ static void exit_server_common(enum server_exit_reason how, /* * For children the parent takes care of cleaning up */ - serverid_deregister(procid_self()); + serverid_deregister(sconn_server_id(sconn)); } #ifdef WITH_DFS |