Re:[PATCH] arch: fix resource leak in chmc.c
From: jackysliu
Date: Sun Jul 20 2025 - 22:10:24 EST
On Fri, Jul 18 2025 15:25:47 +0200 Krzysztof Kozlowski wrote:
>Last time you were using AI, so I have doubts this is "static tools".
>Please describe it properly, so we can make informed decision whether to
>allocate time on this.
The tool determines which api is responsible for resource request
and release, and determines if there are resource leak or double free
issues in the code by determining the use of release specifications.
So no AI involved, don't worry.
>Nah, just free it immediately after user. Don't over complicate this.
OK, I'll resubmit a new patch later
Siyang Liu