summaryrefslogtreecommitdiff
path: root/source3/smbd/server.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/smbd/server.c')
-rw-r--r--source3/smbd/server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/server.c b/source3/smbd/server.c
index c7a17332403..46e655a6e4f 100644
--- a/source3/smbd/server.c
+++ b/source3/smbd/server.c
@@ -579,7 +579,7 @@ static void remove_child_pid(struct smbd_parent_context *parent,
__func__, strerror(ret)));
}
- smbprofile_cleanup(pid);
+ smbprofile_cleanup(pid, getpid());
for (child = parent->children; child != NULL; child = child->next) {
if (child->pid == pid) {