summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Hacohen <tom@stosb.com>2013-06-26 10:40:44 +0100
committerTom Hacohen <tom@stosb.com>2013-06-26 10:40:44 +0100
commit182dfb82d497d269054097fa5a2d356b999f0d21 (patch)
treeb38b807a0bfd4746cd2a3ae63f7b0c721ed775c1
parent33678961b6fee5f01875dc84680d1ba1700799d3 (diff)
Evas gl: Fixed double-free when failing gl init.
-rw-r--r--src/modules/evas/engines/gl_common/evas_gl_core.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/modules/evas/engines/gl_common/evas_gl_core.c b/src/modules/evas/engines/gl_common/evas_gl_core.c
index 8fadc27a27..83e0facd50 100644
--- a/src/modules/evas/engines/gl_common/evas_gl_core.c
+++ b/src/modules/evas/engines/gl_common/evas_gl_core.c
@@ -1384,6 +1384,7 @@ error:
1384 eina_tls_free(evgl_engine->resource_key); 1384 eina_tls_free(evgl_engine->resource_key);
1385 if (evgl_engine) 1385 if (evgl_engine)
1386 free(evgl_engine); 1386 free(evgl_engine);
1387 evgl_engine = NULL;
1387 return NULL; 1388 return NULL;
1388} 1389}
1389 1390