From: barbieri Date: Fri, 10 Feb 2012 20:39:27 +0000 (+0000) Subject: fix test leaks X-Git-Tag: 2.0_alpha~33^2~44 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5e8cf5fbc5c0eea0d6b4d74573301c4161fd1633;p=framework%2Fuifw%2Feina.git fix test leaks git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@67836 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- diff --git a/src/tests/eina_test_value.c b/src/tests/eina_test_value.c index 7e1862b..a013120 100644 --- a/src/tests/eina_test_value.c +++ b/src/tests/eina_test_value.c @@ -1718,6 +1718,7 @@ START_TEST(eina_value_test_struct) fail_unless(strcmp(str, "{a: 1, b: 2, c: 3, d: 4, e: 5, f: 6, g: 7, h: 8, i: 9, j: 10, k: 12, l: 13, m: 14, n: 15, o: 16, p: 17, q: 18, r: 19, s: 20, t: 21, u: 22, v: 23, x: 24}") == 0); free(str); + eina_value_flush(&other); eina_value_free(value); eina_shutdown(); } @@ -1825,6 +1826,7 @@ START_TEST(eina_value_test_model) str = eina_value_to_string(value); fail_unless(str != NULL); fail_unless(strcmp(str, "Eina_Model_Type_Generic({i: 1234}, [])") == 0); + free(str); eina_value_free(value);