diff options
author | Drew DeVault <sir@cmpwn.com> | 2017-07-16 22:25:28 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-07-16 22:25:28 -0400 |
commit | 1e13a1fd60dac491a82670826f9960d0b6f8cf7b (patch) | |
tree | 78a234d41e62b21f65fe1026db8d005ba36aa864 /swaybar/tray/tray.c | |
parent | 5675a42def79ee8c2bbac32947034f1403aba4f6 (diff) | |
parent | e8f589c3dcb11b8f2aa778380381715b680a5ec8 (diff) |
Merge pull request #1283 from 4e554c4c/memory_leak
Fix memory leaks in swaybar tray
Diffstat (limited to 'swaybar/tray/tray.c')
-rw-r--r-- | swaybar/tray/tray.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/swaybar/tray/tray.c b/swaybar/tray/tray.c index c1d8dde4..91c3af06 100644 --- a/swaybar/tray/tray.c +++ b/swaybar/tray/tray.c @@ -99,6 +99,7 @@ static void get_items_reply(DBusPendingCall *pending, void *_data) { bail: dbus_message_unref(reply); + dbus_pending_call_unref(pending); return; } static void get_items() { |