diff options
| author | Li Qiang <liqiang6-s@360.cn> | 2017-01-04 00:43:16 -0800 |
|---|---|---|
| committer | Paolo Bonzini <pbonzini@redhat.com> | 2017-01-16 17:52:35 +0100 |
| commit | 8409dc884a201bf74b30a9d232b6bbdd00cb7e2b (patch) | |
| tree | e15cc272c850bffad649624e15cdf42a9d512d16 /util/qemu-thread-posix.c | |
| parent | 1f8af0d186abf9ef775a74d41bf2852ed8d59b63 (diff) | |
| download | focaccia-qemu-8409dc884a201bf74b30a9d232b6bbdd00cb7e2b.tar.gz focaccia-qemu-8409dc884a201bf74b30a9d232b6bbdd00cb7e2b.zip | |
serial: fix memory leak in serial exit
The serial_exit_core function doesn't free some resources. This can lead memory leak when hotplug and unplug. This patch avoid this. Signed-off-by: Li Qiang <liqiang6-s@360.cn> Message-Id: <586cb5ab.f31d9d0a.38ac3.acf2@mx.google.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'util/qemu-thread-posix.c')
0 files changed, 0 insertions, 0 deletions