testmemleak: Added missing () in test case.

This commit is contained in:
Martin Ettl 2015-01-11 10:27:37 +01:00
parent 37c89a6b70
commit 910af75e3a
1 changed files with 1 additions and 1 deletions

View File

@ -4282,7 +4282,7 @@ private:
" char * p = get_current_dir_name();\n" // memory leak
"}\n"
"void noLeak() {\n"
" char * p = get_current_dir_name;\n"
" char * p = get_current_dir_name();\n"
" free(p)\n;"
"}";
check(code, &settings);