Fix memory leaks in swaybar tray

This commit is contained in:
Calvin Lee 2017-07-16 17:59:16 -07:00
parent 5675a42def
commit e8f589c3dc
4 changed files with 9 additions and 1 deletions

View file

@ -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() {