summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPeter Meerwald-Stadler <pmeerw@pmeerw.net>2015-09-15 16:42:58 +0200
committerPeter Meerwald-Stadler <pmeerw@pmeerw.net>2016-08-15 23:53:34 +0200
commit9cc778123fb9528a728d0a60e5db6e57f15cbaf0 (patch)
tree3d2a19f8edb6d1827bd5a457cc624cf93cbf471d /src
parenta5dae93d9fc48c0075a20a0d748a8002ad6a3dd5 (diff)
modules: Use pa_assert_se() to check return value of dbus_message_iter_close_container()
CID 1140353 ... as it is done everythere else
Diffstat (limited to 'src')
-rw-r--r--src/modules/module-ladspa-sink.c2
1 files changed, 1 insertions, 1 deletions
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));