From fcd1f82297682377a5fcd3374512266c7796e739 Mon Sep 17 00:00:00 2001 From: dieb Date: Mon, 7 Sep 2009 23:23:03 +0000 Subject: [PATCH] Fix segv reported by Peter Wehrfritz on eina init/shutdown (specifically on eina_log init/shutdown as it wasn't resetting domains counters properly). git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@42334 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/lib/eina_log.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/lib/eina_log.c b/src/lib/eina_log.c index 822a2d7..536706b 100644 --- a/src/lib/eina_log.c +++ b/src/lib/eina_log.c @@ -961,6 +961,8 @@ eina_log_shutdown(void) free(_log_domains); _log_domains = NULL; + _log_domains_count = 0; + _log_domains_allocated = 0; while (_pending_list) { -- 2.7.4