woohyun pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=ea6a31ac553921db84a87707145a513d0e3aac9f

commit ea6a31ac553921db84a87707145a513d0e3aac9f
Author: WooHyun Jung <wh0705.j...@samsung.com>
Date:   Thu Jul 2 21:54:51 2015 +0900

    Evas gl_common: Fix up error handling
---
 src/modules/evas/engines/gl_common/evas_gl_texture.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/modules/evas/engines/gl_common/evas_gl_texture.c 
b/src/modules/evas/engines/gl_common/evas_gl_texture.c
index 39b97ae..569a28a 100644
--- a/src/modules/evas/engines/gl_common/evas_gl_texture.c
+++ b/src/modules/evas/engines/gl_common/evas_gl_texture.c
@@ -786,7 +786,7 @@ _pool_tex_dynamic_new(Evas_Engine_GL_Context *gc, int w, 
int h, int intformat, i
 #endif
            case GL_RGBA: attr[5] = EGL_MAP_GL_TEXTURE_RGBA_SEC; break;
            case GL_BGRA: attr[5] = EGL_MAP_GL_TEXTURE_BGRA_SEC; break;
-           default: ERR("SEC map: unknown format"); return NULL;
+           default: ERR("SEC map: unknown format"); goto error;
           }
 
         attr[1] = pt->w;

-- 


Reply via email to