diff options
author | 2017-11-08 12:59:43 -0700 | |
---|---|---|
committer | 2017-12-29 12:11:51 -0700 | |
commit | b9f36716b52d4566609ac64be88b8a1f65602214 (patch) | |
tree | 7ffb59b5c7e9a76c8e739ec56d4692f9e792fd49 /include | |
parent | Correct context menu placement if bar is bottom (diff) | |
download | sway-b9f36716b52d4566609ac64be88b8a1f65602214.tar.gz sway-b9f36716b52d4566609ac64be88b8a1f65602214.tar.zst sway-b9f36716b52d4566609ac64be88b8a1f65602214.zip |
Plug memory `dbus_message_iter_get_signature` leak
Diffstat (limited to 'include')
-rw-r--r-- | include/swaybar/tray/dbus.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/swaybar/tray/dbus.h b/include/swaybar/tray/dbus.h index eb9cfea7..51754464 100644 --- a/include/swaybar/tray/dbus.h +++ b/include/swaybar/tray/dbus.h | |||
@@ -6,6 +6,12 @@ | |||
6 | extern DBusConnection *conn; | 6 | extern DBusConnection *conn; |
7 | 7 | ||
8 | /** | 8 | /** |
9 | * Checks the signature of the given iter against `sig`. Prefer to | ||
10 | * `dbus_message_iter_get_signature` as this one frees the intermediate string. | ||
11 | */ | ||
12 | bool dbus_message_iter_check_signature(DBusMessageIter *iter, const char *sig); | ||
13 | |||
14 | /** | ||
9 | * Should be called in main loop to dispatch events | 15 | * Should be called in main loop to dispatch events |
10 | */ | 16 | */ |
11 | void dispatch_dbus(); | 17 | void dispatch_dbus(); |