Fix free of uninitialized pointer

Fix free of uninitialized pointer (bug#1576).
This commit is contained in:
Takashi Iwai 2005-11-18 16:01:39 +00:00
parent 6b85e23fa3
commit 2bcaa1f133

View file

@ -3808,7 +3808,7 @@ static int parse_args(snd_config_t *subs, const char *str, snd_config_t *defs)
snd_config_t *def, *sub, *typ;
const char *new = str;
const char *tmp;
char *val;
char *val = NULL;
err = parse_arg(&new, &varlen, &val);
if (err < 0)
goto _err;