cedric pushed a commit to branch master.

commit 9f5db2d0ba504eca5416637c6d322a47a8de4b8d
Author: Jean GUYOMARC'H <[email protected]>
Date:   Fri Aug 9 10:55:43 2013 +0900

    etrophy: fix a memory leak.
---
 src/lib/etrophy.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/lib/etrophy.c b/src/lib/etrophy.c
index d621856..9087134 100644
--- a/src/lib/etrophy.c
+++ b/src/lib/etrophy.c
@@ -597,6 +597,10 @@ etrophy_gamescore_free(Etrophy_Gamescore *gamescore)
       EINA_LIST_FREE(gamescore->locks, locks_elem)
         etrophy_lock_free(locks_elem);
    }
+
+   if (gamescore->__eet_filename)
+     eina_stringshare_del(gamescore->__eet_filename);
+
    free(gamescore);
 }
 

-- 

------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk

Reply via email to