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
|
||||
"}\n"
|
||||
"void noLeak() {\n"
|
||||
" char * p = get_current_dir_name;\n"
|
||||
" char * p = get_current_dir_name();\n"
|
||||
" free(p)\n;"
|
||||
"}";
|
||||
check(code, &settings);
|
||||
|
|
Loading…
Reference in New Issue