Re: [PATCH v3 1/3] tests/migration: mem leak fix

2019-10-04 Thread Laurent Vivier
Le 04/10/2019 à 05:43, Mao Zhongyi a écrit : > ‘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 > Reviewed-by: Alex Bennée > --- >

[PATCH v3 1/3] tests/migration: mem leak fix

2019-10-03 Thread Mao Zhongyi
‘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 Reviewed-by: Alex Bennée --- tests/migration/stress.c | 10 ++ 1 file changed, 2 in