diff options
| author | Abdun Nihaal <nihaal@cse.iitm.ac.in> | 2026-03-12 18:02:56 +0530 |
|---|---|---|
| committer | Hans Verkuil <hverkuil+cisco@kernel.org> | 2026-03-16 16:30:21 +0100 |
| commit | 8ea21435fe36fb853706f4935d78bc11beb63fb4 (patch) | |
| tree | 664009e273415d63d1aecb47a4152b6200ff4aff /tools/lib/python/kdoc | |
| parent | a66485a934c7187ae8e36517d40615fa2e961cff (diff) | |
media: pci: zoran: fix potential memory leak in zoran_probe()
The memory allocated for codec in videocodec_attach() is not freed in
one of the error paths, due to an incorrect goto label. Fix the label
to free it on error.
Fixes: 8f7cc5c0b0eb ("media: staging: media: zoran: introduce zoran_i2c_init")
Cc: stable@vger.kernel.org
Signed-off-by: Abdun Nihaal <nihaal@cse.iitm.ac.in>
Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
Diffstat (limited to 'tools/lib/python/kdoc')
0 files changed, 0 insertions, 0 deletions
