mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-11-25 17:59:25 +01:00
client: destroy builder on append failure
This commit is contained in:
parent
a3bc408ae4
commit
8238ca7fce
@ -306,6 +306,7 @@ bool proxy_property_set(const struct proxy_interface *proxy, const char *name,
|
||||
l_dbus_message_builder_enter_variant(builder, property->type);
|
||||
|
||||
if (!property->append(builder, value_str)) {
|
||||
l_dbus_message_builder_destroy(builder);
|
||||
l_dbus_message_unref(msg);
|
||||
return false;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user