On Tue, Jun 30, 2015 at 6:58 PM, Eric Anholt <e...@anholt.net> wrote: > Signed-off-by: Eric Anholt <e...@anholt.net>
Reviewed-by: Alex Deucher <alexander.deuc...@amd.com> > --- > glamor/glamor_fbo.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/glamor/glamor_fbo.c b/glamor/glamor_fbo.c > index cab2ff9..acb5d0d 100644 > --- a/glamor/glamor_fbo.c > +++ b/glamor/glamor_fbo.c > @@ -424,8 +424,8 @@ glamor_create_fbo_array(glamor_screen_private > *glamor_priv, > > cleanup: > for (i = 0; i < block_wcnt * block_hcnt; i++) > - if ((fbo_array)[i]) > - glamor_destroy_fbo(glamor_priv, (fbo_array)[i]); > + if (fbo_array[i]) > + glamor_destroy_fbo(glamor_priv, fbo_array[i]); > free(box_array); > free(fbo_array); > return NULL; > -- > 2.1.4 > > _______________________________________________ > xorg-devel@lists.x.org: X.Org development > Archives: http://lists.x.org/archives/xorg-devel > Info: http://lists.x.org/mailman/listinfo/xorg-devel _______________________________________________ xorg-devel@lists.x.org: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel