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
cryptodev-builtin.c
cryptodev-vhost-user.c
cryptodev-vhost.c
cryptodev.c
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
hostmem.c hostmem: add some properties description 2018-10-05 16:27:09 +04:00
rng-egd.c
rng-random.c
rng.c
tpm.c