3
0
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:
Tim Kourt 2018-08-02 18:01:52 -07:00 committed by Denis Kenzior
parent a3bc408ae4
commit 8238ca7fce

View File

@ -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;
}