Received: from eggs.gnu.org ([2001:4830:134:3::10]:55545) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XR2Cs-0007pi-Hg for qemu-devel@nongnu.org; Mon, 08 Sep 2014 12:54:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XR2Ck-00041Z-OR for qemu-devel@nongnu.org; Mon, 08 Sep 2014 12:54:22 -0400 Received: from mx1.redhat.com ([209.132.183.28]:51447) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XR2Ck-00041T-HX for qemu-devel@nongnu.org; Mon, 08 Sep 2014 12:54:14 -0400 From: Markus Armbruster References: <1408559891-11313-1-git-send-email-armbru@redhat.com> <20140820212229.GA26229@redhat.com> Date: Mon, 08 Sep 2014 18:54:01 +0200 In-Reply-To: <20140820212229.GA26229@redhat.com> (Michael S. Tsirkin's message of "Wed, 20 Aug 2014 23:22:29 +0200") Message-ID: <878uluqcie.fsf@blackfin.pond.sub.org> MIME-Version: 1.0 Content-Type: text/plain Subject: Re: [Qemu-devel] [PATCH 1/1] loader: g_realloc(p, 0) frees and returns NULL, simplify List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Michael S. Tsirkin" Cc: qemu-devel@nongnu.org, aurelien@aurel32.net "Michael S. Tsirkin" writes: > On Wed, Aug 20, 2014 at 08:38:11PM +0200, Markus Armbruster wrote: >> Once upon a time, it was decided that qemu_realloc(ptr, 0) should >> abort. Switching to glib retired that bright idea. A bit of code >> that was added to cope with it (commit 3e372cf) is still around. Bury >> it. >> >> See also commit 6528499. >> >> Signed-off-by: Markus Armbruster > > Acked-by: Michael S. Tsirkin Michael, can you take this through your tree?