From 9cc778123fb9528a728d0a60e5db6e57f15cbaf0 Mon Sep 17 00:00:00 2001 From: Peter Meerwald-Stadler Date: Tue, 15 Sep 2015 16:42:58 +0200 Subject: [PATCH] modules: Use pa_assert_se() to check return value of dbus_message_iter_close_container() CID 1140353 ... as it is done everythere else --- src/modules/module-ladspa-sink.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/module-ladspa-sink.c b/src/modules/module-ladspa-sink.c index a6290b9d6..c11fa5e75 100644 --- a/src/modules/module-ladspa-sink.c +++ b/src/modules/module-ladspa-sink.c @@ -166,7 +166,7 @@ static void get_algorithm_parameters(DBusConnection *conn, DBusMessage *msg, voi pa_dbus_append_basic_array(&struct_iter, DBUS_TYPE_DOUBLE, control, u->n_control); pa_dbus_append_basic_array(&struct_iter, DBUS_TYPE_BOOLEAN, use_default, u->n_control); - dbus_message_iter_close_container(&msg_iter, &struct_iter); + pa_assert_se(dbus_message_iter_close_container(&msg_iter, &struct_iter)); pa_assert_se(dbus_connection_send(conn, reply, NULL));