testmemleak: Added missing () in test case.
This commit is contained in:
parent
37c89a6b70
commit
910af75e3a
|
@ -4282,7 +4282,7 @@ private:
|
||||||
" char * p = get_current_dir_name();\n" // memory leak
|
" char * p = get_current_dir_name();\n" // memory leak
|
||||||
"}\n"
|
"}\n"
|
||||||
"void noLeak() {\n"
|
"void noLeak() {\n"
|
||||||
" char * p = get_current_dir_name;\n"
|
" char * p = get_current_dir_name();\n"
|
||||||
" free(p)\n;"
|
" free(p)\n;"
|
||||||
"}";
|
"}";
|
||||||
check(code, &settings);
|
check(code, &settings);
|
||||||
|
|
Loading…
Reference in New Issue