diff --git a/topology/nhlt/intel/ssp/ssp-process.c b/topology/nhlt/intel/ssp/ssp-process.c index d8fbba43f..6a0e85318 100644 --- a/topology/nhlt/intel/ssp/ssp-process.c +++ b/topology/nhlt/intel/ssp/ssp-process.c @@ -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; } else { fprintf(stderr, "ssp_set_params(): unknown quirk %s\n", token); + free(buf); return -EINVAL; }