Re: [Qemu-devel] [PATCH 1/6] egl-helpers: fix possible resource leak

2016-05-09 Thread Gonglei (Arei)
And this one. Thanks :) Regards, -Gonglei > -Original Message- > From: Paolo Bonzini [mailto:pbonz...@redhat.com] > Sent: Thursday, March 03, 2016 7:19 PM > To: Gonglei (Arei); qemu-devel@nongnu.org > Cc: qemu-triv...@nongnu.org > Subject: Re: [PATCH 1/6] egl-helpers: fix possible reso

Re: [Qemu-devel] [PATCH 1/6] egl-helpers: fix possible resource leak

2016-03-03 Thread Paolo Bonzini
On 03/03/2016 10:43, Gonglei wrote: > CID 1352419, using g_strdup_printf instead of asprintf. > > Signed-off-by: Gonglei > --- > ui/egl-helpers.c | 9 +++-- > 1 file changed, 3 insertions(+), 6 deletions(-) > > diff --git a/ui/egl-helpers.c b/ui/egl-helpers.c > index 54be44c..2da1930 1006

[Qemu-devel] [PATCH 1/6] egl-helpers: fix possible resource leak

2016-03-03 Thread Gonglei
CID 1352419, using g_strdup_printf instead of asprintf. Signed-off-by: Gonglei --- ui/egl-helpers.c | 9 +++-- 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/ui/egl-helpers.c b/ui/egl-helpers.c index 54be44c..2da1930 100644 --- a/ui/egl-helpers.c +++ b/ui/egl-helpers.c @@ -50,