summaryrefslogtreecommitdiffstats
path: root/dbus/dbus-pending-call.c
diff options
context:
space:
mode:
Diffstat (limited to 'dbus/dbus-pending-call.c')
-rw-r--r--dbus/dbus-pending-call.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dbus/dbus-pending-call.c b/dbus/dbus-pending-call.c
index dad444e3..e0d8e3ee 100644
--- a/dbus/dbus-pending-call.c
+++ b/dbus/dbus-pending-call.c
@@ -64,7 +64,7 @@ _dbus_pending_call_new (DBusConnection *connection,
if (!dbus_pending_call_allocate_data_slot (&notify_user_data_slot))
return NULL;
- pending = dbus_new (DBusPendingCall, 1);
+ pending = dbus_new0 (DBusPendingCall, 1);
if (pending == NULL)
{