cedric pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=61b6986880d82e294e20e487c2f9b7c52a89ad74
commit 61b6986880d82e294e20e487c2f9b7c52a89ad74 Author: Cedric BAIL <[email protected]> Date: Sat Dec 27 14:09:45 2014 +0100 evas: first destroy the rectangle, then the pool. --- src/modules/evas/engines/gl_common/evas_gl_preload.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modules/evas/engines/gl_common/evas_gl_preload.c b/src/modules/evas/engines/gl_common/evas_gl_preload.c index 7881e3f..17836c2 100644 --- a/src/modules/evas/engines/gl_common/evas_gl_preload.c +++ b/src/modules/evas/engines/gl_common/evas_gl_preload.c @@ -115,10 +115,10 @@ _evas_gl_preload_main_loop_wakeup(void) async->tex->ptt->allocations = eina_list_remove(async->tex->ptt->allocations, async->tex->aptt); - pt_unref(async->tex->ptt); - async->tex->ptt = NULL; eina_rectangle_pool_release(async->tex->aptt); async->tex->aptt = NULL; + pt_unref(async->tex->ptt); + async->tex->ptt = NULL; evas_gl_common_texture_free(async->tex, EINA_FALSE); } --
