vl: fix resource leak with monitor_fdset_add_fd
commit636a30a890c50f734c90ee929e16492fbc6c73e3
authorPaolo Bonzini <pbonzini@redhat.com>
Sun, 15 Mar 2015 09:16:28 +0000 (15 10:16 +0100)
committerMichael Tokarev <mjt@tls.msk.ru>
Thu, 19 Mar 2015 08:24:44 +0000 (19 11:24 +0300)
tree690c2ca954ffcbce0dbf322bb8f434f558e6878c
parent3ebd6cc8d30374da8b72909960f4426e82e5f6ef
vl: fix resource leak with monitor_fdset_add_fd

monitor_fdset_add_fd returns an AddfdInfo struct (used by the QMP
command add_fd).  Free it.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Fam Zheng <famz@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
vl.c