lkml.org 
[lkml]   [2023]   [Nov]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v1] selftests/media_tests: fix a resource leak
On Tue, Nov 21, 2023 at 01:32:38AM -0800, Zhu Jun wrote:
> From: zhujun2 <zhujun2@cmss.chinamobile.com>
>
> The opened file should be closed in main(), otherwise resource
> leak will occur that this problem was discovered by code reading
>
> Signed-off-by: zhujun2 <zhujun2@cmss.chinamobile.com>
> ---
>
> Hi Dan Carpenter
>
> I believe that the Linux kernel code is sacred and should strictly adhere to C code conventions
>

*sigh*. You do you, I guess. This patch is pointless but I don't care
whether it's merged or not.

regards,
dan carpenter

\
 
 \ /
  Last update: 2023-11-21 10:43    [W:0.036 / U:1.948 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site