From 1c54d2fd1274e8a56c1a9f68e26cd2e7ff7f6130 Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Mon, 5 Oct 2009 14:42:38 +0200 Subject: [PATCH] dbus: fix crash if interface is NULL Signed-off-by: Julien Danjou --- dbus.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dbus.c b/dbus.c index ff0aff98..8e87dc85 100644 --- a/dbus.c +++ b/dbus.c @@ -315,7 +315,7 @@ a_dbus_process_request(DBusConnection *dbus_connection, DBusMessage *msg) if(dbus_message_get_no_reply(msg)) /* emit signals */ - signal_object_emit(globalconf.L, &dbus_signals, interface, nargs); + signal_object_emit(globalconf.L, &dbus_signals, NONULL(interface), nargs); else { signal_t *sig = signal_array_getbyid(&dbus_signals,