SLUDGE: fix unmatched delete[] leaks
This commit is contained in:
parent
77d5c7235d
commit
839e7fb4d2
8 changed files with 18 additions and 18 deletions
|
@ -76,7 +76,7 @@ char *getPrefsFilename(char *filename) {
|
|||
|
||||
char *joined = joinStrings(f, ".ini");
|
||||
|
||||
delete filename;
|
||||
delete[] filename;
|
||||
filename = NULL;
|
||||
return joined;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue