diff options
| author | Mao Zhongyi | 2020-06-03 10:08:56 +0200 |
|---|---|---|
| committer | Dr. David Alan Gilbert | 2020-06-17 18:48:39 +0200 |
| commit | f663492f40c1e2b500c9eda0625ff8bbb04a478c (patch) | |
| tree | 98eb16de2bc920b209337e387929d502c577956f /include/exec/plugin-gen.h | |
| parent | hmp: Make json format optional for qom-set (diff) | |
| download | qemu-f663492f40c1e2b500c9eda0625ff8bbb04a478c.tar.gz qemu-f663492f40c1e2b500c9eda0625ff8bbb04a478c.tar.xz qemu-f663492f40c1e2b500c9eda0625ff8bbb04a478c.zip | |
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>
Diffstat (limited to 'include/exec/plugin-gen.h')
0 files changed, 0 insertions, 0 deletions
