r3183: moved the unlink of the messaging unixdom socket to the messaging destructor
[bbaumbach/samba-autobuild/.git] / source4 / lib / messaging / messaging.c
index b0ca9cc41e3c7f9800fd75e32fde37159d660ef2..13c1a049f8470afb3923829ce0a1e435433a39d6 100644 (file)
@@ -435,6 +435,7 @@ static int messaging_destructor(void *msg_ctx)
 {
        struct messaging_state *msg = msg_ctx;
        event_remove_fd(msg->event.ev, msg->event.fde);
+       unlink(msg->path);
        return 0;
 }