summaryrefslogtreecommitdiffstats
path: root/dbus/dbus-dataslot.c
diff options
context:
space:
mode:
Diffstat (limited to 'dbus/dbus-dataslot.c')
-rw-r--r--dbus/dbus-dataslot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dbus/dbus-dataslot.c b/dbus/dbus-dataslot.c
index 8b1bbb87..83e25865 100644
--- a/dbus/dbus-dataslot.c
+++ b/dbus/dbus-dataslot.c
@@ -305,7 +305,7 @@ _dbus_data_slot_list_get (DBusDataSlotAllocator *allocator,
* are disabled, since then the asserts are empty.
*/
if (!_dbus_mutex_lock (allocator->lock))
- return FALSE;
+ return NULL;
_dbus_assert (slot >= 0);
_dbus_assert (slot < allocator->n_allocated_slots);
_dbus_assert (allocator->allocated_slots[slot].slot_id == slot);