Skip to content

Commit dfa417d

Browse files
committed
don't free installerLogPath
1 parent 95eba66 commit dfa417d

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/Installer.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1144,7 +1144,9 @@ int RunInstaller() {
11441144
LaunchFileIfExists(installerLogPath);
11451145
}
11461146
}
1147+
#if 0 // technically a leak but there's no point and we don't want to crash if allocator is corrupted
11471148
str::Free(installerLogPath);
11481149
str::Free(gFirstError);
1150+
#endif
11491151
return ret;
11501152
}

0 commit comments

Comments
 (0)