Re: [PATCH] platform/x86/amd: Fix memory leak in wbrf_record()

From: Markus Elfring

Date: Tue Dec 30 2025 - 03:51:28 EST



> Fix this by adding a free_tmp label and jumping to it when obj is NULL,
> ensuring tmp is properly freed.

How do you think about to increase the application of scope-based resource management?

Regards,
Markus