From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57877) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZoARc-0004H0-Eo for qemu-devel@nongnu.org; Mon, 19 Oct 2015 09:25:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZoARY-0003j9-Kw for qemu-devel@nongnu.org; Mon, 19 Oct 2015 09:25:44 -0400 Received: from mail-wi0-x236.google.com ([2a00:1450:400c:c05::236]:35958) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZoARY-0003j3-Dm for qemu-devel@nongnu.org; Mon, 19 Oct 2015 09:25:40 -0400 Received: by wicfx6 with SMTP id fx6so5712776wic.1 for ; Mon, 19 Oct 2015 06:25:39 -0700 (PDT) Sender: Paolo Bonzini References: <1444637836-12215-1-git-send-email-jasowang@redhat.com> <1444637836-12215-12-git-send-email-jasowang@redhat.com> From: Paolo Bonzini Message-ID: <5624EF52.2090900@redhat.com> Date: Mon, 19 Oct 2015 15:25:38 +0200 MIME-Version: 1.0 In-Reply-To: <1444637836-12215-12-git-send-email-jasowang@redhat.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PULL 11/14] netfilter: print filter info associate with the netdev List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Jason Wang , qemu-devel@nongnu.org, peter.maydell@linaro.org Cc: Yang Hongyang , Yang Hongyang On 12/10/2015 10:17, Jason Wang wrote: > + } > + QTAILQ_FOREACH(nf, &nc->filters, next) { > + monitor_printf(mon, " - %s: type=%s%s\n", > + object_get_canonical_path_component(OBJECT(nf)), The value returned from object_get_canonical_path_component must be freed. Paolo > + object_get_typename(OBJECT(nf)), > + nf->info_str); > + }