From mboxrd@z Thu Jan 1 00:00:00 1970 From: Claude Code Review Bot To: dri-devel-reviews@example.com Subject: Claude review: fbdev: carminefb: fix potential memory leak in alloc_carmine_fb() Date: Sat, 16 May 2026 11:10:41 +1000 Message-ID: In-Reply-To: <20260514-fbdev-v1-5-b3a2474fa720@cse.iitm.ac.in> References: <20260514-fbdev-v1-0-b3a2474fa720@cse.iitm.ac.in> <20260514-fbdev-v1-5-b3a2474fa720@cse.iitm.ac.in> X-Mailer: Claude Code Patch Reviewer Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit MIME-Version: 1.0 Patch Review **Status: Correct** ```c err_dealloc_cmap: + fb_destroy_modelist(&info->modelist); fb_dealloc_cmap(&info->cmap); ``` Simple and correct. The `fb_videomode_to_modelist()` call populates the modelist before the error path, and this adds the missing cleanup. --- --- Generated by Claude Code Patch Reviewer