mirror of
https://github.com/alsa-project/alsa-utils
synced 2025-01-03 08:39:51 +01:00
topology: nhlt: fix simple memory leak
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
parent
985d741619
commit
e7a02f3872
1 changed files with 1 additions and 0 deletions
|
@ -938,6 +938,7 @@ int ssp_set_params(struct intel_nhlt_params *nhlt, const char *dir, int dai_inde
|
||||||
ssp->ssp_prm[ssp->ssp_count].quirks |= SSP_INTEL_QUIRK_RENDER_FEEDBACK;
|
ssp->ssp_prm[ssp->ssp_count].quirks |= SSP_INTEL_QUIRK_RENDER_FEEDBACK;
|
||||||
} else {
|
} else {
|
||||||
fprintf(stderr, "ssp_set_params(): unknown quirk %s\n", token);
|
fprintf(stderr, "ssp_set_params(): unknown quirk %s\n", token);
|
||||||
|
free(buf);
|
||||||
return -EINVAL;
|
return -EINVAL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue