summaryrefslogtreecommitdiffstats
path: root/bus/dispatch.c
diff options
context:
space:
mode:
Diffstat (limited to 'bus/dispatch.c')
-rw-r--r--bus/dispatch.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/bus/dispatch.c b/bus/dispatch.c
index 490ecf24..7db4ac29 100644
--- a/bus/dispatch.c
+++ b/bus/dispatch.c
@@ -70,6 +70,8 @@ bus_dispatch_broadcast_message (BusTransaction *transaction,
DBusError tmp_error;
SendMessageData d;
BusConnections *connections;
+
+ _DBUS_ASSERT_ERROR_IS_CLEAR (error);
_dbus_assert (dbus_message_get_sender (message) != NULL);
@@ -101,7 +103,9 @@ send_service_nonexistent_error (BusTransaction *transaction,
DBusMessage *error_reply;
DBusString error_message;
const char *error_str;
-
+
+ _DBUS_ASSERT_ERROR_IS_CLEAR (error);
+
/* Trying to send a message to a non-existant service,
* bounce back an error message.
*/