[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 04/37] qga: free remaining leaking state
From: |
Eric Blake |
Subject: |
Re: [Qemu-devel] [PATCH 04/37] qga: free remaining leaking state |
Date: |
Tue, 19 Jul 2016 12:39:28 -0600 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 |
On 07/19/2016 02:53 AM, address@hidden wrote:
> From: Marc-André Lureau <address@hidden>
>
> Signed-off-by: Marc-André Lureau <address@hidden>
> ---
> qga/guest-agent-command-state.c | 6 ++++++
> qga/guest-agent-core.h | 1 +
> qga/main.c | 6 ++++++
> 3 files changed, 13 insertions(+)
>
> diff --git a/qga/guest-agent-command-state.c b/qga/guest-agent-command-state.c
> index 4de229c..e609d32 100644
> --- a/qga/guest-agent-command-state.c
> +++ b/qga/guest-agent-command-state.c
> @@ -71,3 +71,9 @@ GACommandState *ga_command_state_new(void)
> cs->groups = NULL;
> return cs;
> }
> +
> +void ga_command_state_free(GACommandState *cs)
> +{
> + g_slist_free_full(cs->groups, g_free);
Same problem as 3/37 - our minimum glib is 2.22, but this function is 2.28.
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
- [Qemu-devel] [PATCH 00/37] Various memory leak fixes, marcandre . lureau, 2016/07/19
- [Qemu-devel] [PATCH 01/37] build-sys: use an override for CFLAGS filter, marcandre . lureau, 2016/07/19
- [Qemu-devel] [PATCH 02/37] tests: fix test-qga leaks, marcandre . lureau, 2016/07/19
- [Qemu-devel] [PATCH 03/37] qga: free the whole blacklist, marcandre . lureau, 2016/07/19
- [Qemu-devel] [PATCH 04/37] qga: free remaining leaking state, marcandre . lureau, 2016/07/19
- Re: [Qemu-devel] [PATCH 04/37] qga: free remaining leaking state,
Eric Blake <=
- [Qemu-devel] [PATCH 05/37] tests: fix test-cutils leaks, marcandre . lureau, 2016/07/19
- [Qemu-devel] [PATCH 06/37] tests: fix test-vmstate leaks, marcandre . lureau, 2016/07/19
- [Qemu-devel] [PATCH 07/37] tests: fix test-iov leaks, marcandre . lureau, 2016/07/19
- [Qemu-devel] [PATCH 08/37] qdist: fix entries memory leak, marcandre . lureau, 2016/07/19
- [Qemu-devel] [PATCH 09/37] tests: fix check-qom-interface leaks, marcandre . lureau, 2016/07/19