summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean GUYOMARC'H <jean.guyomarch@gmail.com>2013-08-09 10:55:43 +0900
committerCedric Bail <cedric.bail@samsung.com>2013-08-09 10:55:43 +0900
commit9f5db2d0ba504eca5416637c6d322a47a8de4b8d (patch)
treebe0a8de239f23b43dd70901a94a72d56f41bdad1
parent8df5be2d1ffd3d9aca7d1e7655ae54d8902203f7 (diff)
etrophy: fix a memory leak.
-rw-r--r--src/lib/etrophy.c4
1 files changed, 4 insertions, 0 deletions
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)
597 EINA_LIST_FREE(gamescore->locks, locks_elem) 597 EINA_LIST_FREE(gamescore->locks, locks_elem)
598 etrophy_lock_free(locks_elem); 598 etrophy_lock_free(locks_elem);
599 } 599 }
600
601 if (gamescore->__eet_filename)
602 eina_stringshare_del(gamescore->__eet_filename);
603
600 free(gamescore); 604 free(gamescore);
601} 605}
602 606