summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
Diffstat (limited to 'src/core')
-rw-r--r--src/core/socket.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/socket.c b/src/core/socket.c
index 7beec3644e..fb7632dee8 100644
--- a/src/core/socket.c
+++ b/src/core/socket.c
@@ -165,6 +165,8 @@ static void socket_done(Unit *u) {
free(s->user);
free(s->group);
+ s->fdname = mfree(s->fdname);
+
s->timer_event_source = sd_event_source_unref(s->timer_event_source);
}