Searched hist:f663492f40c1e2b500c9eda0625ff8bbb04a478c (Results 1 – 1 of 1) sorted by relevance
/qemu/tests/migration-stress/ |
H A D | stress.c | f663492f40c1e2b500c9eda0625ff8bbb04a478c Wed Jun 03 08:08:56 UTC 2020 Mao Zhongyi <maozhongyi@cmss.chinamobile.com> tests/migration: mem leak fix
‘data’ has the possibility of memory leaks, so use the glib macros g_autofree recommended by CODING_STYLE.rst to automatically release the memory that returned from g_malloc().
Signed-off-by: Mao Zhongyi <maozhongyi@cmss.chinamobile.com> Reviewed-by: Alex Bennée <alex.bennee@linaro.org> Reviewed-by: Laurent Vivier <laurent@vivier.eu> Message-Id: <20200603080904.997083-2-maozhongyi@cmss.chinamobile.com> Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
|