summaryrefslogtreecommitdiff
path: root/src/tests/efreet
diff options
context:
space:
mode:
authorLucas De Marchi <lucas.demarchi@profusion.mobi>2013-01-14 21:04:35 +0000
committerLucas De Marchi <lucas.demarchi@profusion.mobi>2013-01-14 21:04:35 +0000
commit522bb558e9babe40c34d22dad25be8d377810615 (patch)
tree8e72da4d95956096bd5baf10fac6534a045b7c84 /src/tests/efreet
parent1a4535b5ff5ebfa74ce707bf55d2d4efb7dc6347 (diff)
efl/efreet: fix leaking test list and return code
SVN revision: 82781
Diffstat (limited to 'src/tests/efreet')
-rw-r--r--src/tests/efreet/main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tests/efreet/main.c b/src/tests/efreet/main.c
index 10f3575..d5ef3be 100644
--- a/src/tests/efreet/main.c
+++ b/src/tests/efreet/main.c
@@ -123,7 +123,8 @@ main(int argc, char ** argv)
123 { 123 {
124 for (i = 0; tests[i].name; i++) 124 for (i = 0; tests[i].name; i++)
125 printf("%s\n", tests[i].name); 125 printf("%s\n", tests[i].name);
126 return 1; 126 run = eina_list_free(run);
127 return 0;
127 } 128 }
128 run = eina_list_append(run, argv[i]); 129 run = eina_list_append(run, argv[i]);
129 } 130 }