summaryrefslogtreecommitdiff
path: root/tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorFelix Gu <ustc.gu@gmail.com>2026-02-03 20:14:58 +0800
committerHelge Deller <deller@gmx.de>2026-02-14 11:09:47 +0100
commitce4e25198a6aaaaf36248edf8daf3d744ec8e309 (patch)
tree6f37a9a34a0136405c003cb6b236498e82f6d8b5 /tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git
parentb28da0d092461ac239ff034a8ac3129320177ba3 (diff)
fbdev: au1200fb: Fix a memory leak in au1200fb_drv_probe()
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 <ustc.gu@gmail.com> Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions