diff options
author | David Hildenbrand <david@redhat.com> | 2021-09-29 18:24:43 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2021-10-02 08:43:21 +0200 |
commit | 75b98cb9f6456ccf194211beffcbf93b0a995fa4 (patch) | |
tree | 9d244648d90759bcdc461b385f25b2b4bd524dd1 /monitor/monitor.c | |
parent | 3830df5f83b9b52d9496763ce1a50afb9231c998 (diff) |
virtio-mem-pci: Fix memory leak when creating MEMORY_DEVICE_SIZE_CHANGE event
Apparently, we don't have to duplicate the string.
Fixes: 722a3c783ef4 ("virtio-pci: Send qapi events when the virtio-mem size changes")
Cc: qemu-stable@nongnu.org
Signed-off-by: David Hildenbrand <david@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20210929162445.64060-2-david@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'monitor/monitor.c')
0 files changed, 0 insertions, 0 deletions