diff options
author | Lennart Poettering <lennart@poettering.net> | 2013-11-11 19:09:02 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2013-11-12 00:12:43 +0100 |
commit | d5e4ec5b1ee1e3f04a2cb0871490490eb47ef34a (patch) | |
tree | 7580541e2706eb9166c566c10314ba5bb935e15a /src | |
parent | c49b30a23583ff39daaa26696bcab478d2fee0bb (diff) | |
download | systemd-d5e4ec5b1ee1e3f04a2cb0871490490eb47ef34a.tar.gz |
test: fix minor memory leak in test-event
Diffstat (limited to 'src')
-rw-r--r-- | src/libsystemd-bus/test-event.c | 2 |
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); |