23.08.2023 10:47, alloc.yo...@outlook.com wrote:
From: "alloc.young" <alloc.yo...@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 think it is better to split this into two parts, one fixing the memleak and another converting to g_free(). /mjt