mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2026-02-28 01:40:08 -05:00
topology: save_config - fix the error path handling
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
parent
d77fb47318
commit
5c1cb568ec
1 changed files with 2 additions and 2 deletions
|
|
@ -395,9 +395,9 @@ retval:
|
||||||
err = tplg_save_quoted(dst, id);
|
err = tplg_save_quoted(dst, id);
|
||||||
} else {
|
} else {
|
||||||
err = tplg_save_string(dst, id, 1);
|
err = tplg_save_string(dst, id, 1);
|
||||||
if (err < 0)
|
|
||||||
return err;
|
|
||||||
}
|
}
|
||||||
|
if (err < 0)
|
||||||
|
return err;
|
||||||
} else {
|
} else {
|
||||||
delim = "";
|
delim = "";
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue