summaryrefslogtreecommitdiffstats
path: root/maemo
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2008-04-22 19:34:03 +0200
committerTakashi Iwai <tiwai@suse.de>2008-06-06 15:54:45 +0200
commitb3f732f4d30f7151e7c4844e2ef9296cb59b61bf (patch)
tree49c2e903410042c64dca45ca574de5c1b017d74a /maemo
parent0fec8b8d0af1a9567ea671ad33633d9dab2de9d3 (diff)
Fix close in maemo callback
ALSA bug#3035: https://bugtrack.alsa-project.org/alsa-bug/view.php?id=3035 Use dbus_connection_unref() instead of the deprecated dbus_connection_close(). Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'maemo')
-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)