Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
media: platform: allegro-dvt: Fix possible memory leak in allocate_bu…
…ffers_internal() The buffer in the loop should be released under the exception path, otherwise there may be a memory leak here. To mitigate this, free the buffer when allegro_alloc_buffer fails. Fixes: f20387d ("media: allegro: add Allegro DVT video IP core driver") Cc: <[email protected]> Signed-off-by: Gaosheng Cui <[email protected]> Signed-off-by: Hans Verkuil <[email protected]>
- Loading branch information