|
From: | alloc young |
Subject: | Re: [PATCH] softmmu: Fix dirtylimit memory leak |
Date: | Thu, 24 Aug 2023 14:20:24 +0800 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 |
On 2023/8/24 13:16, Michael Tokarev wrote:
23.08.2023 10:47, alloc.young@outlook.com wrote:From: "alloc.young" <alloc.young@outlook.com> Fix memory leak in hmp_info_vcpu_dirty_limit,use g_autoptr handle memory deallocation, alse use g_free to match g_malloc && g_new functions."..use g_autoptr TO handle.." ("to" is missing). "alse" - I guess should be "Also".
I'll fix these typos in next patch.
I think it is better to split this into two parts, one fixing the memleak and another converting to g_free().
Ok, I'll make another patch, Thx.
/mjt
[Prev in Thread] | Current Thread | [Next in Thread] |