Skip to content

Commit ffb0561

Browse files
committed
Fix mismatched new[],delete
1 parent 48f13f9 commit ffb0561

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/commons/Parameters.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1870,7 +1870,7 @@ void Parameters::parseParameters(int argc, const char *pargv[], const Command &c
18701870
EXIT(EXIT_FAILURE);
18711871
}
18721872
filenames.emplace_back(posix);
1873-
delete posix;
1873+
delete[] posix;
18741874
}
18751875
#else
18761876
filenames.emplace_back(pargv[argIdx]);

0 commit comments

Comments
 (0)