summaryrefslogtreecommitdiff
path: root/tools/lib/python/kdoc/python_version.py
diff options
context:
space:
mode:
authorHarin Lee <me@harin.net>2026-10-01 23:45:01 +0900
committerTakashi Iwai <tiwai@suse.de>2026-10-03 11:14:26 +0200
commit593d46fc6af9a0178a46e77d6d24b20d2314165f (patch)
tree15ee9ba0dc9881e274b8fcf86d8131c5fb3c568d /tools/lib/python/kdoc/python_version.py
parent9a44b828dd7c0be1d0d6d6cf178d9727ceb6da6e (diff)
downloadlinux-next-593d46fc6af9a0178a46e77d6d24b20d2314165f.tar.gz
linux-next-593d46fc6af9a0178a46e77d6d24b20d2314165f.zip
ALSA: ctxfi: Fix memory leakage when clearing DAO input mappers
Commit e576e7843c0d ("ALSA: ctxfi: Simplify dao_clear_{left,right}_input() functions") centralized the DAO input mapper clearing logic in dao_clear_input(), but omitted the kfree() calls. It removes the mapper entries from the list and sets their pointers to NULL without freeing the allocated array. This leaks memory each time dao_clear_input() is called. Store the base pointer of the allocation before clearing the mapper entries and free the array after removing entries from the list. Fixes: e576e7843c0d ("ALSA: ctxfi: Simplify dao_clear_{left,right}_input() functions") Cc: stable@vger.kernel.org Signed-off-by: Harin Lee <me@harin.net> Link: https://patch.msgid.link/20261001144501.3050667-2-me@harin.net Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'tools/lib/python/kdoc/python_version.py')
0 files changed, 0 insertions, 0 deletions