efl: fix leak in eina_cow.
authorCedric BAIL <cedric.bail@free.fr>
Sun, 20 Jan 2013 11:02:48 +0000 (11:02 +0000)
committerCedric BAIL <cedric.bail@free.fr>
Sun, 20 Jan 2013 11:02:48 +0000 (11:02 +0000)
Patch by Paulo Alcantara <pcacjr@zytor.com>.

SVN revision: 83014

src/lib/eina/eina_cow.c

index 3048352..f8a1366 100644 (file)
@@ -285,6 +285,7 @@ eina_cow_del(Eina_Cow *cow)
    EINA_COW_MAGIC_CHECK(cow);
 
    eina_mempool_del(cow->pool);
+   eina_hash_free(cow->match);
 
    EINA_LIST_FREE(cow->togc, gc)
      eina_mempool_free(gc_pool, gc);