From: Fam Zheng <famz@redhat.com>
To: "Marc-André Lureau" <marcandre.lureau@redhat.com>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH] test-uuid: fix leak
Date: Thu, 10 Nov 2016 16:40:22 +0800 [thread overview]
Message-ID: <20161110084022.GF8422@lemon> (raw)
In-Reply-To: <20161109110210.25925-1-marcandre.lureau@redhat.com>
On Wed, 11/09 15:02, Marc-André Lureau wrote:
> ASAN spotted:
> SUMMARY: AddressSanitizer: 74 byte(s) leaked in 2 allocation(s).
>
> Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
> ---
> tests/test-uuid.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/tests/test-uuid.c b/tests/test-uuid.c
> index 77dcdc4..d3a2791 100644
> --- a/tests/test-uuid.c
> +++ b/tests/test-uuid.c
> @@ -161,6 +161,7 @@ static void test_uuid_unparse_strdup(void)
> }
> out = qemu_uuid_unparse_strdup(&uuid_test_data[i].uuid);
> g_assert_cmpstr(uuid_test_data[i].uuidstr, ==, out);
> + g_free(out);
> }
> }
>
> --
> 2.10.0
>
Thanks, applied:
https://github.com/famz/qemu/tree/staging
Fam
prev parent reply other threads:[~2016-11-10 8:40 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-11-09 11:02 [Qemu-devel] [PATCH] test-uuid: fix leak Marc-André Lureau
2016-11-09 20:46 ` John Snow
2016-11-10 8:40 ` Fam Zheng [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20161110084022.GF8422@lemon \
--to=famz@redhat.com \
--cc=marcandre.lureau@redhat.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.