dbus: Fix condition for invalidating path
Luiz Augusto von Dentz
maintainerPATCH 1/1 dbus: Fix condition for invalidating path
From: Luiz Augusto von Dentz <[email protected]>
This fixes the condition introduced in cdd02afbb7ef ("dbus: Fix add invalid memory during interface removal") which was reversed while applying the original fix.
--- gdbus/object.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
gdbus/object.c +1 -1
@@ -810,7 +810,7 @@ static struct generic_data *invalidate_parent_data(DBusConnection *conn,if (child ==NULL ||g_slist_find (data->objects, child) !=NULL ) goto done; -if (!g_slist_find (parent->objects, child)) +if (g_slist_find (parent->objects, child)) goto done; data->objects =g_slist_prepend (data->objects, child);
Signature · 1 line
2.48.1