[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-trivial] [PATCH v3 00/11] Trivial memory allocation fixes & cl
From: |
Stefan Hajnoczi |
Subject: |
Re: [Qemu-trivial] [PATCH v3 00/11] Trivial memory allocation fixes & cleanups |
Date: |
Tue, 22 Jan 2013 16:04:36 +0100 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Tue, Jan 22, 2013 at 11:07:55AM +0100, Markus Armbruster wrote:
> v3: const tweak suggested by stefanha in PATCH 08/11, rest identical
> except 03/11's commit message mentions leak (thanks stefanha!)
>
> v2: Windows compile fix in PATCH 08/11 (thanks eblake!), rest identical
>
> Markus Armbruster (11):
> g_malloc(0) and g_malloc0(0) return NULL; simplify
> g_strdup(NULL) returns NULL; simplify
> hw/9pfs: Fix unchecked strdup() by converting to g_strdup()
> readline: Fix unchecked strdup() by converting to g_strdup()
> spice: Fix unchecked strdup() by converting to g_strdup()
> virtfs-proxy-helper: Fix unchecked strdup() by conv. to g_strdup()
> qemu-log: Fix unchecked strdup() by converting to g_strdup()
> qemu-log: Plug trivial memory leak in cpu_set_log_filename()
> libcacard: Fix unchecked strdup() by converting to g_strdup()
> qapi: Fix unchecked strdup() by converting to g_strdup()
> qemu-ga: Fix unchecked strdup() by converting to g_strdup()
>
> block/qcow2-refcount.c | 6 +-----
> block/vdi.c | 4 +---
> fsdev/virtfs-proxy-helper.c | 4 ++--
> hw/9pfs/virtio-9p-device.c | 8 ++------
> hw/9pfs/virtio-9p-local.c | 8 ++++----
> hw/9pfs/virtio-9p.c | 6 +-----
> hw/block-common.c | 4 +---
> hw/vhost.c | 7 ++-----
> libcacard/vcard_emul_nss.c | 4 ++--
> libcacard/vreader.c | 2 +-
> libcacard/vscclient.c | 4 ++--
> net/net.c | 4 +---
> qapi/qmp-registry.c | 2 +-
> qemu-log.c | 15 ++++++++++-----
> qga/commands.c | 2 +-
> readline.c | 4 ++--
> slirp/slirp.c | 8 ++------
> ui/spice-core.c | 4 ++--
> util/qemu-option.c | 8 ++------
> 19 files changed, 40 insertions(+), 64 deletions(-)
>
> --
> 1.7.11.7
>
>
Thanks, applied to the trivial patches -next tree:
https://github.com/stefanha/qemu/commits/trivial-patches-next
Stefan
- Re: [Qemu-trivial] [Qemu-devel] [PATCH v3 10/11] qapi: Fix unchecked strdup() by converting to g_strdup(), (continued)
- [Qemu-trivial] [PATCH v3 02/11] g_strdup(NULL) returns NULL; simplify, Markus Armbruster, 2013/01/22
- [Qemu-trivial] [PATCH v3 09/11] libcacard: Fix unchecked strdup() by converting to g_strdup(), Markus Armbruster, 2013/01/22
- [Qemu-trivial] [PATCH v3 01/11] g_malloc(0) and g_malloc0(0) return NULL; simplify, Markus Armbruster, 2013/01/22
- [Qemu-trivial] [PATCH v3 04/11] readline: Fix unchecked strdup() by converting to g_strdup(), Markus Armbruster, 2013/01/22
- [Qemu-trivial] [PATCH v3 03/11] hw/9pfs: Fix unchecked strdup() by converting to g_strdup(), Markus Armbruster, 2013/01/22
- [Qemu-trivial] [PATCH v3 11/11] qemu-ga: Fix unchecked strdup() by converting to g_strdup(), Markus Armbruster, 2013/01/22
- [Qemu-trivial] [PATCH v3 07/11] qemu-log: Fix unchecked strdup() by converting to g_strdup(), Markus Armbruster, 2013/01/22
- Re: [Qemu-trivial] [PATCH v3 00/11] Trivial memory allocation fixes & cleanups,
Stefan Hajnoczi <=