From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57484) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XBiQe-0005ow-BU for qemu-devel@nongnu.org; Mon, 28 Jul 2014 06:45:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XBiQW-00021d-H9 for qemu-devel@nongnu.org; Mon, 28 Jul 2014 06:45:16 -0400 Received: from cantor2.suse.de ([195.135.220.15]:58486 helo=mx2.suse.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XBiQW-00021C-9z for qemu-devel@nongnu.org; Mon, 28 Jul 2014 06:45:08 -0400 Message-ID: <53D629AF.8010906@suse.de> Date: Mon, 28 Jul 2014 12:45:03 +0200 From: Alexander Graf MIME-Version: 1.0 References: <1406271172-1192-1-git-send-email-arei.gonglei@huawei.com> <1406271172-1192-8-git-send-email-arei.gonglei@huawei.com> In-Reply-To: <1406271172-1192-8-git-send-email-arei.gonglei@huawei.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v2 7/7] spapr: fix possible memory leak List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: arei.gonglei@huawei.com, qemu-devel@nongnu.org Cc: peter.maydell@linaro.org, weidong.huang@huawei.com, mst@redhat.com, aik@ozlabs.ru, lcapitulino@redhat.com, kraxel@redhat.com, dmitry@daynix.com, akong@redhat.com, armbru@redhat.com, lersek@redhat.com, marcel.a@redhat.com, somlo@cmu.edu, luonengjun@huawei.com, peter.huangpeng@huawei.com, alex.williamson@redhat.com, stefanha@redhat.com, pbonzini@redhat.com, rth@twiddle.net, kwolf@redhat.com, peter.crosthwaite@xilinx.com, Chenliang , imammedo@redhat.com, afaerber@suse.de On 25.07.14 08:52, arei.gonglei@huawei.com wrote: > From: Gonglei > > get_boot_devices_list() will malloc memory, spapr_finalize_fdt > doesn't free it. > > Signed-off-by: Chenliang > Signed-off-by: Gonglei Thanks, applied to ppc-next-2.2. Alex