From b8a407aa8470ad8d92d9142edb41c17548b0cb2c Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Tue, 10 Apr 2007 21:37:24 +0000 Subject: Add first step of ALSA plugin integration --- audio/ctl_bluetooth.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'audio/ctl_bluetooth.c') 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; -- cgit