summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/tests/efl_check.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tests/efl_check.h b/src/tests/efl_check.h
index a973250849..20d2203075 100644
--- a/src/tests/efl_check.h
+++ b/src/tests/efl_check.h
@@ -131,7 +131,7 @@ _efl_test_option_disp(int argc, char **argv, const Efl_Test_Case *etc)
131 } 131 }
132 else if (strcmp(argv[i], "--valgrind") == 0) 132 else if (strcmp(argv[i], "--valgrind") == 0)
133 { 133 {
134 const char *nav[argc + 3]; 134 const char ** nav = (const char **) alloca(sizeof(char*) * (argc + 3));
135 int j, k; 135 int j, k;
136 136
137 nav[0] = "valgrind"; 137 nav[0] = "valgrind";