diff options
author | Andrew Tridgell <tridge@samba.org> | 2004-10-25 03:30:39 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:04:37 -0500 |
commit | 75ed4f7cc4d39b85cf6dba040cbf188fac3ed464 (patch) | |
tree | 95eb4af6fe56d721a934b02332f5b1274959f69d /source4/lib/messaging | |
parent | 35a11f0e6132a48136500f10be31ac9291a4d25a (diff) | |
download | samba-75ed4f7cc4d39b85cf6dba040cbf188fac3ed464.tar.gz samba-75ed4f7cc4d39b85cf6dba040cbf188fac3ed464.tar.bz2 samba-75ed4f7cc4d39b85cf6dba040cbf188fac3ed464.zip |
r3183: moved the unlink of the messaging unixdom socket to the messaging destructor
(This used to be commit ab222b236a091d31b1f5f2cba150a11585ab5836)
Diffstat (limited to 'source4/lib/messaging')
-rw-r--r-- | source4/lib/messaging/messaging.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/lib/messaging/messaging.c b/source4/lib/messaging/messaging.c index b0ca9cc41e..13c1a049f8 100644 --- a/source4/lib/messaging/messaging.c +++ b/source4/lib/messaging/messaging.c @@ -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; } |