cedric pushed a commit to branch master.

commit 728a559ee8b831b0eb296f36f7622dadcc75eea4
Author: Tae-Hwan Kim <[email protected]>
Date:   Thu Jul 11 11:34:21 2013 +0900

    theme: free all theme resources when elementary is shutdown.
---
 src/lib/elm_theme.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/src/lib/elm_theme.c b/src/lib/elm_theme.c
index 0dcb765..02fd673 100644
--- a/src/lib/elm_theme.c
+++ b/src/lib/elm_theme.c
@@ -376,7 +376,13 @@ _elm_theme_parse(Elm_Theme *th, const char *theme)
 void
 _elm_theme_shutdown(void)
 {
+   Elm_Theme *th;
    _elm_theme_clear(&(theme_default));
+   EINA_LIST_FREE(themes, th)
+     {
+        _elm_theme_clear(th);
+        free(th);
+     }
 }
 
 EAPI Elm_Theme *

-- 

------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk

Reply via email to