From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38931) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bHpFR-0008HK-28 for qemu-devel@nongnu.org; Tue, 28 Jun 2016 05:24:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bHpFN-00080E-2E for qemu-devel@nongnu.org; Tue, 28 Jun 2016 05:24:00 -0400 Received: from mga09.intel.com ([134.134.136.24]:23882) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bHpFM-0007zJ-Rz for qemu-devel@nongnu.org; Tue, 28 Jun 2016 05:23:56 -0400 References: <1467104806-3461-1-git-send-email-stefanha@redhat.com> From: Xiao Guangrong Message-ID: <57724157.4080407@linux.intel.com> Date: Tue, 28 Jun 2016 17:20:23 +0800 MIME-Version: 1.0 In-Reply-To: <1467104806-3461-1-git-send-email-stefanha@redhat.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH] nvdimm: fix memory leak in error code path List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Hajnoczi , qemu-devel@nongnu.org Cc: Paolo Bonzini , Igor Mammedov , "Michael S. Tsirkin" On 06/28/2016 05:06 PM, Stefan Hajnoczi wrote: > object_get_canonical_path_component() returns a heap-allocated string > that must be freed using g_free(). > Reviewed-by: Xiao Guangrong Thanks for your fix and thank Paolo for the report.