On 2/3/26 13:14, Felix Gu wrote:
In au1200fb_drv_probe(), when platform_get_irq fails(), it directly
returns from the function with an error code, which causes a memory
leak.

Replace it with a goto label to ensure proper cleanup.

Fixes: 4e88761f5f8c ("fbdev: au1200fb: Fix missing IRQ check in 
au1200fb_drv_probe")
Signed-off-by: Felix Gu <[email protected]>
---
  drivers/video/fbdev/au1200fb.c | 6 ++++--
  1 file changed, 4 insertions(+), 2 deletions(-)

applied.

Thanks!
Helge

Reply via email to