qemu/backends
Zhang Yi a1f3bb1845 hostmem-file: fixed the memory leak while get pmem path.
object_get_canonical_path_component() returns a string which
must be freed using g_free().

Reported-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Zhang Yi <yi.z.zhang@linux.intel.com>
Message-Id: <7328fb16c394eaf5d65437d11c2a9343647b6d3d.1535471899.git.yi.z.zhang@linux.intel.com>
Reviewed-by: Eduardo Habkost <ehabkost@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
2018-10-24 06:44:59 -03:00
..
Makefile.objs hostmem-file: make available memory-backend-file on POSIX-based hosts 2018-10-02 19:09:13 +02:00
cryptodev-builtin.c cryptodev: add vhost support 2018-03-01 18:26:17 +02:00
cryptodev-vhost-user.c backends/cryptodev: remove dead code 2018-07-30 14:00:11 +02:00
cryptodev-vhost.c cryptodev: add vhost support 2018-03-01 18:26:17 +02:00
cryptodev.c Include less of the generated modular QAPI headers 2018-03-02 13:45:50 -06:00
hostmem-file.c hostmem-file: fixed the memory leak while get pmem path. 2018-10-24 06:44:59 -03:00
hostmem-memfd.c hostmem: add some properties description 2018-10-05 16:27:09 +04:00
hostmem-ram.c mem: add share parameter to memory-backend-ram 2018-02-19 13:03:24 +02:00
hostmem.c hostmem: add some properties description 2018-10-05 16:27:09 +04:00
rng-egd.c char: add backend hotswap handler 2017-07-14 11:04:33 +02:00
rng-random.c rng-random: rename RndRandom to RngRandom 2016-05-23 12:18:43 +05:30
rng.c include/qemu/osdep.h: Don't include qapi/error.h 2016-03-22 22:20:15 +01:00
tpm.c Drop superfluous includes of qapi/qmp/qerror.h 2018-02-09 13:51:35 +01:00