On Fri, 28 Jul 2023 at 11:50, dinglimin <dingli...@cmss.chinamobile.com> wrote: > > Replaced a call to malloc() and its respective call to free() with g_malloc() > and g_free(). > > Signed-off-by: dinglimin <dingli...@cmss.chinamobile.com> > > v4 -> V5:Use g_try_malloc() instead of malloc() > V3 -> V4:Delete null checks after g malloc(). > V2 -> V3:softmmu_unlock_user changes free to g free. > V1 -> V2:if cpu_memory_rw_debug failed, still need to set p=NULL > > Signed-off-by: dinglimin <dingli...@cmss.chinamobile.com> > ---
Thanks for this patch, and for working through the code review process with us on this! Reviewed-by: Peter Maydell <peter.mayd...@linaro.org> thanks -- PMM