summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/messages.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/lib/messages.c b/source3/lib/messages.c
index d46ad74553..bc6f209938 100644
--- a/source3/lib/messages.c
+++ b/source3/lib/messages.c
@@ -161,6 +161,7 @@ BOOL message_send_pid(pid_t pid, int msg_type, void *buf, size_t len, BOOL dupli
*/
if (!process_exists(pid)) {
+ tdb_delete(tdb, message_key_pid(pid));
DEBUG(2,("message_send_pid: pid %d doesn't exist\n", (int)pid));
return False;
}