From: Chia-I Wu Date: Fri, 1 Jul 2011 09:13:38 +0000 (+0900) Subject: st/egl: fix a typo X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=bf04d9eebfd117ad3b9c095b990183614d4f5f09;p=mesa.git st/egl: fix a typo Wrong goto labels. --- diff --git a/src/gallium/state_trackers/egl/common/native_helper.c b/src/gallium/state_trackers/egl/common/native_helper.c index 6f2097c61a6..cca1e1c6295 100644 --- a/src/gallium/state_trackers/egl/common/native_helper.c +++ b/src/gallium/state_trackers/egl/common/native_helper.c @@ -282,9 +282,9 @@ resource_surface_copy_swap(struct resource_surface *rsurf, btex, 0, &src_box); ret = TRUE; - out_no_ftex: - pipe_resource_reference(&btex, NULL); out_no_btex: + pipe_resource_reference(&btex, NULL); + out_no_ftex: pipe_resource_reference(&ftex, NULL); return ret;