OSDN Git Service
(root)
/
android-x86
/
external-alsa-lib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
10f3957
)
Added initialization of destination
author
Jaroslav Kysela
<perex@perex.cz>
Sat, 29 Dec 2001 22:28:35 +0000
(22:28 +0000)
committer
Jaroslav Kysela
<perex@perex.cz>
Sat, 29 Dec 2001 22:28:35 +0000
(22:28 +0000)
src/control/setup.c
patch
|
blob
|
history
diff --git
a/src/control/setup.c
b/src/control/setup.c
index
88b46f6
..
0db9106
100644
(file)
--- a/
src/control/setup.c
+++ b/
src/control/setup.c
@@
-590,6
+590,7
@@
int snd_sctl_build(snd_sctl_t **sctl, snd_ctl_t *handle, snd_config_t *conf, snd
assert(sctl);
assert(handle);
assert(conf);
+ *sctl = NULL;
if (snd_config_get_type(conf) != SND_CONFIG_TYPE_COMPOUND)
return -EINVAL;
h = calloc(1, sizeof(*h));