Received: from eggs.gnu.org ([2001:4830:134:3::10]:46179) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YYVmQ-0000kv-UZ for qemu-devel@nongnu.org; Thu, 19 Mar 2015 04:26:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YYVmN-0000SS-Pc for qemu-devel@nongnu.org; Thu, 19 Mar 2015 04:26:14 -0400 Message-ID: <550A8822.3030607@msgid.tls.msk.ru> Date: Thu, 19 Mar 2015 11:26:10 +0300 From: Michael Tokarev MIME-Version: 1.0 References: <1426410988-3695-1-git-send-email-pbonzini@redhat.com> In-Reply-To: <1426410988-3695-1-git-send-email-pbonzini@redhat.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v3] vl: fix resource leak with monitor_fdset_add_fd List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini , qemu-devel@nongnu.org Cc: qemu-trivial@nongnu.org, armbru@redhat.com, zhaoshenglong@huawei.com 15.03.2015 12:16, Paolo Bonzini wrote: > monitor_fdset_add_fd returns an AddfdInfo struct (used by the QMP > command add_fd). Free it. > > Signed-off-by: Paolo Bonzini > --- > v1->v2: line length [Fam], pass &error_abort [Shannon] > v2->v3: use "!!" instead of "? true : false" [Markus] And ofcourse after finding v2 and v3, I applied this v3 one instead of the initial version with a fixup. Well, this boolean thing becomes really ugly... :( Thanks, /mjt