aboutsummaryrefslogtreecommitdiffstats
path: root/legacy/ecore/src/lib/ecore/ecore.c
diff options
context:
space:
mode:
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>2011-12-03 03:39:07 +0000
committerMike Blumenkrantz <michael.blumenkrantz@gmail.com>2011-12-03 03:39:07 +0000
commit54a2db004437fc6f86718289cd5cdea66ff55ad3 (patch)
tree0b1bfe74b61520570f3d38b11654fed03d45ac97 /legacy/ecore/src/lib/ecore/ecore.c
parentunrevert 65828 and unspank myself. (diff)
downloadefl-54a2db004437fc6f86718289cd5cdea66ff55ad3.tar.gz
mempools++
SVN revision: 65833
Diffstat (limited to 'legacy/ecore/src/lib/ecore/ecore.c')
-rw-r--r--legacy/ecore/src/lib/ecore/ecore.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/legacy/ecore/src/lib/ecore/ecore.c b/legacy/ecore/src/lib/ecore/ecore.c
index 99d79c1536..3c67a85e06 100644
--- a/legacy/ecore/src/lib/ecore/ecore.c
+++ b/legacy/ecore/src/lib/ecore/ecore.c
@@ -159,6 +159,7 @@ ecore_init(void)
}
if (getenv("ECORE_FPS_DEBUG")) _ecore_fps_debug = 1;
if (_ecore_fps_debug) _ecore_fps_debug_init();
+ if (!ecore_mempool_init()) goto shutdown_mempool;
_ecore_main_loop_init();
_ecore_signal_init();
_ecore_thread_init();
@@ -191,6 +192,8 @@ ecore_init(void)
return _ecore_init_count;
+shutdown_mempool:
+ ecore_mempool_shutdown();
shutdown_log_dom:
eina_shutdown();
shutdown_evil:
@@ -255,7 +258,7 @@ ecore_shutdown(void)
_ecore_memory_max_free);
}
#endif
-
+ ecore_mempool_shutdown();
eina_log_domain_unregister(_ecore_log_dom);
_ecore_log_dom = -1;
eina_shutdown();