From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47697) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XKAxI-0006IP-Uu for qemu-devel@nongnu.org; Wed, 20 Aug 2014 14:50:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XKAxE-0001mF-0X for qemu-devel@nongnu.org; Wed, 20 Aug 2014 14:49:56 -0400 Received: from mx1.redhat.com ([209.132.183.28]:63451) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XKAxD-0001mB-O0 for qemu-devel@nongnu.org; Wed, 20 Aug 2014 14:49:51 -0400 Message-ID: <53F4EDC3.9080209@redhat.com> Date: Wed, 20 Aug 2014 12:49:39 -0600 From: Eric Blake MIME-Version: 1.0 References: <1408559891-11313-1-git-send-email-armbru@redhat.com> In-Reply-To: <1408559891-11313-1-git-send-email-armbru@redhat.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="8qn3G0L83xr6PHBNQc7MdvkwRewefjHTM" 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: Markus Armbruster , qemu-devel@nongnu.org Cc: aurelien@aurel32.net, mst@redhat.com This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --8qn3G0L83xr6PHBNQc7MdvkwRewefjHTM Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 08/20/2014 12:38 PM, 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. >=20 > See also commit 6528499. >=20 > Signed-off-by: Markus Armbruster > --- > include/hw/elf_ops.h | 15 +++++---------- > 1 file changed, 5 insertions(+), 10 deletions(-) Reviewed-by: Eric Blake --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --8qn3G0L83xr6PHBNQc7MdvkwRewefjHTM Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 Comment: Public key at http://people.redhat.com/eblake/eblake.gpg iQEcBAEBCAAGBQJT9O3DAAoJEKeha0olJ0Nq8sUH/jO7VBj+vhkW02TMlDA1qeZI O7jC3N+kjUtT11IsRLSwMRMrSeqYRKUQYVZi7HnzuBrzVLCJNiz0C9bo6jG1qpIQ ldoMnXZD/hhIi9d2gkRXpS8+w1TQ4+cmURrcGM1ybBMBJiIwQjdqPio4ReId7KO/ BXkLUjq0cxSnPzuzNAYd+swjpRwHopw5VM20KiOtSN1RwLNUickaGA57GDU2OatN WNaV4pPv+rHFE+etXCGe+ZbYGHBDsGQ6ZnL/H1H8IkZBc6ISTz5vE1efDp2au6tR QrHbPzcB+DUad1wSCkxiOnS99D1CC+55IQyjP4QrIV9kazOl3rX12ZJPz8RUZwU= =3aGO -----END PGP SIGNATURE----- --8qn3G0L83xr6PHBNQc7MdvkwRewefjHTM--