summaryrefslogtreecommitdiffstats
path: root/maemo/dsp-protocol.c
diff options
context:
space:
mode:
Diffstat (limited to 'maemo/dsp-protocol.c')
-rw-r--r--maemo/dsp-protocol.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/maemo/dsp-protocol.c b/maemo/dsp-protocol.c
index 1e7ef66..df155c6 100644
--- a/maemo/dsp-protocol.c
+++ b/maemo/dsp-protocol.c
@@ -614,7 +614,7 @@ int dsp_protocol_destroy(dsp_protocol_t ** dsp_protocol)
DENTER();
#ifdef USE_RESOURCE_MANAGER
if ((*dsp_protocol)->dbus_connection)
- dbus_connection_close((*dsp_protocol)->dbus_connection);
+ dbus_connection_unref((*dsp_protocol)->dbus_connection);
#endif /* USE_RESOURCE_MANAGER */
if (*dsp_protocol) {
if ((*dsp_protocol)->device)