summaryrefslogtreecommitdiffstats
path: root/bus/bus.c
diff options
context:
space:
mode:
Diffstat (limited to 'bus/bus.c')
-rw-r--r--bus/bus.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/bus/bus.c b/bus/bus.c
index 468d820b..1a619b47 100644
--- a/bus/bus.c
+++ b/bus/bus.c
@@ -143,6 +143,8 @@ bus_context_new (const char *address,
DBusError *error)
{
BusContext *context;
+
+ _DBUS_ASSERT_ERROR_IS_CLEAR (error);
context = dbus_new0 (BusContext, 1);
if (context == NULL)