summaryrefslogtreecommitdiff
path: root/src/modules/evas/engines/gl_generic/evas_engine.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/evas/engines/gl_generic/evas_engine.c')
-rw-r--r--src/modules/evas/engines/gl_generic/evas_engine.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/modules/evas/engines/gl_generic/evas_engine.c b/src/modules/evas/engines/gl_generic/evas_engine.c
index 5514b7d97d..4ae962a48c 100644
--- a/src/modules/evas/engines/gl_generic/evas_engine.c
+++ b/src/modules/evas/engines/gl_generic/evas_engine.c
@@ -932,6 +932,7 @@ eng_image_data_get(void *engine, void *image, int to_write, DATA32 **image_data,
932 eng_gl_surface_unlock(engine, im); 932 eng_gl_surface_unlock(engine, im);
933 if (!ok) 933 if (!ok)
934 { 934 {
935 evas_gl_common_image_free(im_new);
935 if (err) *err = EVAS_LOAD_ERROR_GENERIC; 936 if (err) *err = EVAS_LOAD_ERROR_GENERIC;
936 ERR("ReadPixels failed."); 937 ERR("ReadPixels failed.");
937 return NULL; 938 return NULL;