summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorGeorge Kiagiadakis <george.kiagiadakis@collabora.com>2021-05-06 13:32:38 +0300
committerGeorge Kiagiadakis <george.kiagiadakis@collabora.com>2021-07-28 13:19:02 +0300
commita189af3e9d74c0cca520e6913f68d5f5f614befc (patch)
tree8826a93ab949233e74e73544366a2a3e530ee58c /lib
parentfe177fa0ad79d64db90b2e2839913746744a5b72 (diff)
wpipc: remove socket files after shutdown of the server
Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/receiver.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/receiver.c b/lib/receiver.c
index f6c46c5..4592916 100644
--- a/lib/receiver.c
+++ b/lib/receiver.c
@@ -178,6 +178,7 @@ icipc_receiver_free (struct icipc_receiver *self)
icipc_epoll_thread_destroy (&self->epoll_thread);
free (self->buffer_read);
close (self->socket_fd);
+ unlink (self->addr.sun_path);
free (self);
}