diff options
author | Zhang Yi | 2018-08-28 18:14:22 +0200 |
---|---|---|
committer | Eduardo Habkost | 2018-10-24 11:44:59 +0200 |
commit | a1f3bb1845e23c38c3bb6ca5e90ac184cfaf1a57 (patch) | |
tree | bcb01f03d6bd34a83fe4c0e8a3b9da0f4d816127 /hw/timer/mc146818rtc.c | |
parent | Merge remote-tracking branch 'remotes/armbru/tags/pull-error-2018-10-22' into... (diff) | |
download | qemu-a1f3bb1845e23c38c3bb6ca5e90ac184cfaf1a57.tar.gz qemu-a1f3bb1845e23c38c3bb6ca5e90ac184cfaf1a57.tar.xz qemu-a1f3bb1845e23c38c3bb6ca5e90ac184cfaf1a57.zip |
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>
Diffstat (limited to 'hw/timer/mc146818rtc.c')
0 files changed, 0 insertions, 0 deletions