diff options
| author | Marc-André Lureau | 2016-07-14 03:21:37 +0200 |
|---|---|---|
| committer | Marc-André Lureau | 2016-08-07 22:00:11 +0200 |
| commit | 5b498459b441f4639fd4c39c35345637bfc6c16c (patch) | |
| tree | d7e809ac7a979834bafa5dea31bb253da7f8f94e /hw/ide | |
| parent | numa: do not leak NumaOptions (diff) | |
| download | qemu-5b498459b441f4639fd4c39c35345637bfc6c16c.tar.gz qemu-5b498459b441f4639fd4c39c35345637bfc6c16c.tar.xz qemu-5b498459b441f4639fd4c39c35345637bfc6c16c.zip | |
char: free the tcp connection data when closing
Make sure the connection data got freed when closing the chardev, to
avoid leaks. Introduce tcp_chr_free_connection() to clean all connection
related data, and move some tcp_chr_close() clean-ups there.
(while at it, set write_msgfds_num to 0 when clearing array in
tcp_set_msgfds())
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/ide')
0 files changed, 0 insertions, 0 deletions
