woohyun pushed a commit to branch master.

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

commit 1390f65beb6e723fa6afa794d280d7b8087da10c
Author: WooHyun Jung <wh0705.j...@samsung.com>
Date:   Mon Jul 6 14:18:36 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 569a28a..b54f650 100644
--- a/src/modules/evas/engines/gl_common/evas_gl_texture.c
+++ b/src/modules/evas/engines/gl_common/evas_gl_texture.c
@@ -742,7 +742,7 @@ _pool_tex_dynamic_new(Evas_Engine_GL_Context *gc, int w, 
int h, int intformat, i
            case GL_RGBA: buffer_format = TBM_FORMAT_RGBA8888; break;
            case GL_BGRA: buffer_format = TBM_FORMAT_BGRA8888; break;
            case GL_RGB: buffer_format = TBM_FORMAT_RGB888; break;
-           default: ERR("TBM: unknown format"); return NULL;
+           default: ERR("TBM: unknown format"); goto error;
           }
 
         pt->dyn.buffer = (void *)secsym_tbm_surface_create(pt->w, pt->h,

-- 


Reply via email to