From: Mark Brown Date: Wed, 10 Jun 2026 10:24:47 +0000 (+0100) Subject: ASoC: cs35l56: Fix some cleanup memory leaks X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3fd01f2e0500178daa01fbda918678578a2d9431;p=thirdparty%2Flinux.git ASoC: cs35l56: Fix some cleanup memory leaks Richard Fitzgerald says: These are for-next. They are not urgent because it only leaks memory if the driver failed to component_probe or is removed, which wouldn't happen in normal use. This series fixes some memory leaks: - The memory allocated by wm_adsp/cs_dsp was not freed. - If component_probe() failed it didn't clean up. The addition of this cleanup in patch #3 exposes an existing possible double-free of the debugfs, which is fixed in patch #2. Link: https://patch.msgid.link/20260610093432.557375-1-rf@opensource.cirrus.com --- 3fd01f2e0500178daa01fbda918678578a2d9431