summaryrefslogtreecommitdiff
path: root/src/libsystemd-bus/test-event.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libsystemd-bus/test-event.c')
-rw-r--r--src/libsystemd-bus/test-event.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libsystemd-bus/test-event.c b/src/libsystemd-bus/test-event.c
index 60194b99a2..65c1c296f8 100644
--- a/src/libsystemd-bus/test-event.c
+++ b/src/libsystemd-bus/test-event.c
@@ -219,6 +219,8 @@ int main(int argc, char *argv[]) {
sd_event_source_unref(z);
sd_event_source_unref(q);
+ sd_event_source_unref(w);
+
sd_event_unref(e);
close_pipe(a);