summaryrefslogtreecommitdiffstats
path: root/audio/ctl_bluetooth.c
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2007-04-10 21:37:24 +0000
committerMarcel Holtmann <marcel@holtmann.org>2007-04-10 21:37:24 +0000
commitb8a407aa8470ad8d92d9142edb41c17548b0cb2c (patch)
tree1510d97fe928944432a7fea1ac56b6f24760c5e2 /audio/ctl_bluetooth.c
parentf895f6df807b623b2cdd041e9666b01b7f266eb7 (diff)
Add first step of ALSA plugin integration
Diffstat (limited to 'audio/ctl_bluetooth.c')
-rw-r--r--audio/ctl_bluetooth.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/audio/ctl_bluetooth.c b/audio/ctl_bluetooth.c
index 4e55058e..037cfb09 100644
--- a/audio/ctl_bluetooth.c
+++ b/audio/ctl_bluetooth.c
@@ -193,7 +193,7 @@ SND_CTL_PLUGIN_DEFINE_FUNC(bluetooth)
unsigned int id;
int sk, err;
- DBG("");
+ DBG("Bluetooth Control plugin");
snd_config_for_each(iter, next, conf) {
snd_config_t *n = snd_config_iterator_entry(iter);
@@ -270,6 +270,8 @@ SND_CTL_PLUGIN_DEFINE_FUNC(bluetooth)
return 0;
error:
+ close(sk);
+
free(data);
return err;