13 lines
487 B
Diff
13 lines
487 B
Diff
diff -up dbus-1.1.2/bus/bus.c.foo dbus-1.1.2/bus/bus.c
|
|
--- dbus-1.1.2/bus/bus.c.foo 2007-09-14 15:26:08.000000000 -0400
|
|
+++ dbus-1.1.2/bus/bus.c 2007-09-14 15:26:08.000000000 -0400
|
|
@@ -1206,7 +1206,7 @@ bus_context_check_security_policy (BusCo
|
|
dest ? dest : DBUS_SERVICE_DBUS, error))
|
|
{
|
|
|
|
- if (dbus_error_is_set (error) &&
|
|
+ if (error != NULL && dbus_error_is_set (error) &&
|
|
dbus_error_has_name (error, DBUS_ERROR_NO_MEMORY))
|
|
{
|
|
return FALSE;
|