dbus/properties: fix QDBusPendingCallWatcher leak

This commit is contained in:
outfoxxed committed 2024-04-29 18:32:53 -07:00
1 parent a1d82729bc
commit 74d1bb9bc2
1 file changed
+2 -1
+2 -1
View File
@@ -104,6 +104,8 @@ void asyncReadPropertyInternal(
return demarshallVariant(reply.value().variant(), type, slot);
}
});
delete call;
};
QObject::connect(call, &QDBusPendingCallWatcher::finished, &interface, responseCallback);
@@ -231,7 +233,6 @@ void DBusPropertyGroup::updateAllViaGetAll() {
}
delete call;
emit this->getAllFinished();
};