From e7a02f3872ec47b16c07aa39c596e5a633da30be Mon Sep 17 00:00:00 2001 From: Jaroslav Kysela Date: Wed, 17 Jan 2024 17:37:29 +0100 Subject: [PATCH] topology: nhlt: fix simple memory leak Signed-off-by: Jaroslav Kysela --- topology/nhlt/intel/ssp/ssp-process.c | 1 + 1 file changed, 1 insertion(+) 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; }