mirror of
https://github.com/swaywm/sway.git
synced 2026-04-25 06:46:24 -04:00
Plug memory dbus_message_iter_get_signature leak
This commit is contained in:
parent
5c8dc9cb73
commit
b9f36716b5
4 changed files with 20 additions and 14 deletions
|
|
@ -131,7 +131,7 @@ static void get_obj_items_reply(DBusPendingCall *pending, void *_data) {
|
|||
goto bail;
|
||||
}
|
||||
dbus_message_iter_recurse(&iter, &variant);
|
||||
if (strcmp(dbus_message_iter_get_signature(&variant), "a(os)") != 0) {
|
||||
if (dbus_message_iter_check_signature(&iter, "a(os)")) {
|
||||
sway_log(L_ERROR, "Replyed with wrong type not a(os)");
|
||||
goto bail;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue