From 2f516e03c440b3c8b6d7a4565bf9fc72b259cc4e Mon Sep 17 00:00:00 2001 From: Ralf Habacker Date: Tue, 27 Aug 2013 18:31:38 +0200 Subject: [PATCH 2/2] Crash fix. --- dbus/dbus-list.c | 2 +- 1 Datei geändert, 1 Zeile hinzugefügt(+), 1 Zeile entfernt(-) diff --git a/dbus/dbus-list.c b/dbus/dbus-list.c index c4c1856..52cfdc1 100644 --- a/dbus/dbus-list.c +++ b/dbus/dbus-list.c @@ -98,7 +98,7 @@ free_link (DBusList *link) _dbus_assert_not_reached ("we should have initialized global locks " "before we allocated a linked-list link"); - if (_dbus_mem_pool_dealloc (list_pool, link)) + if (list_pool && _dbus_mem_pool_dealloc (list_pool, link)) { _dbus_mem_pool_free (list_pool); list_pool = NULL; -- 1.7.10.4