diff options
| author | Claudio Takahasi <claudio.takahasi@openbossa.org> | 2006-11-17 18:28:55 +0000 | 
|---|---|---|
| committer | Claudio Takahasi <claudio.takahasi@openbossa.org> | 2006-11-17 18:28:55 +0000 | 
| commit | 424318d2fef3ecb784c740fc10712dcdc0b04be7 (patch) | |
| tree | 357e1ed1dba8878f36648e054bdb1da62294385e | |
| parent | 9f7d277407638e4c065dc304693ee8ff0a165aaf (diff) | |
Fixed service agent message forward and message unref
| -rw-r--r-- | hcid/dbus-service.c | 4 | 
1 files changed, 3 insertions, 1 deletions
| diff --git a/hcid/dbus-service.c b/hcid/dbus-service.c index 00e29e52..d7000069 100644 --- a/hcid/dbus-service.c +++ b/hcid/dbus-service.c @@ -733,7 +733,9 @@ static DBusHandlerResult msg_func_services(DBusConnection *conn,  		dbus_pending_call_set_notify(pending, forward_reply, call_data, service_call_free); -		return send_message_and_unref(conn, forward); +		dbus_message_unref(forward); + +		return DBUS_HANDLER_RESULT_HANDLED;  	} else  		return error_unknown_method(conn, msg);  } | 
