]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
media: pci: dm1105: Free allocated workqueue
authorKrzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Tue, 28 Apr 2026 14:50:08 +0000 (16:50 +0200)
committerHans Verkuil <hverkuil+cisco@kernel.org>
Tue, 5 May 2026 14:57:03 +0000 (16:57 +0200)
commit1a65db225b25bb8c8febf16974c060e0cc242eb9
tree42442cb752e33fa8ee926a59d84733e39cbe5e57
parente0f1c9a90ef665f2587c274a8fed59f2dfc575a6
media: pci: dm1105: Free allocated workqueue

Destroy allocated workqueue in remove() callback to free its resources,
thus fixing memory leak.

Fixes: 519a4bdcf822 ("V4L/DVB (11984): Add support for yet another SDMC DM1105 based DVB-S card.")
Cc: <stable@vger.kernel.org>
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
drivers/media/pci/dm1105/dm1105.c