diff options
| author | Zhen Lei <[email protected]> | 2024-10-26 03:56:34 +0000 |
|---|---|---|
| committer | Helge Deller <[email protected]> | 2024-11-14 14:26:27 +0000 |
| commit | f89d17ae2ac42931be2a0153fecbf8533280c927 (patch) | |
| tree | e3fc1273e27cb2d83305fb501f5e207c6647873a /rust/helpers/helpers.c | |
| parent | Linux 6.12-rc7 (diff) | |
| download | kernel-f89d17ae2ac42931be2a0153fecbf8533280c927.tar.gz kernel-f89d17ae2ac42931be2a0153fecbf8533280c927.zip | |
fbdev: sh7760fb: Fix a possible memory leak in sh7760fb_alloc_mem()
When information such as info->screen_base is not ready, calling
sh7760fb_free_mem() does not release memory correctly. Call
dma_free_coherent() instead.
Fixes: 4a25e41831ee ("video: sh7760fb: SH7760/SH7763 LCDC framebuffer driver")
Signed-off-by: Zhen Lei <[email protected]>
Reviewed-by: Dmitry Baryshkov <[email protected]>
Signed-off-by: Helge Deller <[email protected]>
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions
