12.03.2015 17:57, Paolo Bonzini wrote: > monitor_fdset_add_fd returns an AddfdInfo struct (used by the QMP > command add_fd). Free it.
Applied to -trivial, with a tiny change: > + fdinfo = monitor_fdset_add_fd(dupfd, true, fdset_id, fd_opaque ? true : > false, > + fd_opaque, NULL); fdinfo = monitor_fdset_add_fd(dupfd, true, fdset_id, fd_opaque ? true : false, fd_opaque, NULL); (this fits in 80 chars a line). Another variant is to use `fd_opaque != NULL' here instead of this ?true:false construct. Thanks, /mjt