mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-10-29 05:40:25 -04:00
Fix free of uninitialized pointer
Fix free of uninitialized pointer (bug#1576).
This commit is contained in:
parent
6b85e23fa3
commit
2bcaa1f133
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue