Re: [PATCH 2/2] xfree86: dri2: free variable properly if code fails

2010-06-30 Thread Vignatti Tiago (Nokia-D/Helsinki)
On Tue, Jun 29, 2010 at 06:55:02PM +0200, ext Michel Dänzer wrote: > On Die, 2010-06-29 at 19:00 +0300, Tiago Vignatti wrote: > > Signed-off-by: Tiago Vignatti > > --- > > Same as the previous patch: I'm not exactly seeing any problem or segfault > > with this code. I just got this issue with the

Re: [PATCH 2/2] xfree86: dri2: free variable properly if code fails

2010-06-29 Thread Michel Dänzer
On Die, 2010-06-29 at 19:00 +0300, Tiago Vignatti wrote: > Signed-off-by: Tiago Vignatti > --- > Same as the previous patch: I'm not exactly seeing any problem or segfault > with this code. I just got this issue with the static analyzer. > > hw/xfree86/dri2/dri2.c |8 ++-- > 1 files cha

[PATCH 2/2] xfree86: dri2: free variable properly if code fails

2010-06-29 Thread Tiago Vignatti
Signed-off-by: Tiago Vignatti --- Same as the previous patch: I'm not exactly seeing any problem or segfault with this code. I just got this issue with the static analyzer. hw/xfree86/dri2/dri2.c |8 ++-- 1 files changed, 6 insertions(+), 2 deletions(-) diff --git a/hw/xfree86/dri2/dri2