From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49704) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XK14j-0008G5-7N for qemu-devel@nongnu.org; Wed, 20 Aug 2014 04:17:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XK14e-0002mF-Fo for qemu-devel@nongnu.org; Wed, 20 Aug 2014 04:16:57 -0400 Received: from mail-wi0-x236.google.com ([2a00:1450:400c:c05::236]:47484) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XK14e-0002m3-8e for qemu-devel@nongnu.org; Wed, 20 Aug 2014 04:16:52 -0400 Received: by mail-wi0-f182.google.com with SMTP id d1so6500104wiv.3 for ; Wed, 20 Aug 2014 01:16:51 -0700 (PDT) Sender: Paolo Bonzini Message-ID: <53F4596F.6020603@redhat.com> Date: Wed, 20 Aug 2014 10:16:47 +0200 From: Paolo Bonzini MIME-Version: 1.0 References: <1408444983-21464-1-git-send-email-pbonzini@redhat.com> <1408444983-21464-20-git-send-email-pbonzini@redhat.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PULL 19/20] memory: Use canonical path component as the name List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell , Peter Crosthwaite Cc: QEMU Developers Il 20/08/2014 09:50, Peter Maydell ha scritto: > On 20 August 2014 06:04, Peter Crosthwaite wrote: >> On Wed, Aug 20, 2014 at 5:01 AM, Peter Maydell wrote: >>> I think we need to revert this (commit b0225c2c0d8) until >>> both the Xen callsites are fixed and the leak issue is >>> dealt with. >>> >> >> Have half a plan on the leak issue. With >> object_get_canonical_path_component() being used increasing as a "get >> me the already set, name of this object", I think it's better to just >> change to API to return const and remove the free burden from all call >> sites completely. If call sites really want a fresh copy they can take >> one themselves. Patch on list imminently. > > I'm going to go ahead and revert this patch for the moment so > we can take our time reviewing that patch set. Yes, thanks. Paolo