mirror of
https://github.com/Maximus5/ConEmu.git
synced 2025-05-09 01:01:08 +08:00
Fix crash on startup due memory double-free.
Introduced in 93bbf6a42b87bd19c2e8374b52813e2b80bd3b7d
This commit is contained in:
parent
389f78f20d
commit
a06265da2a
@ -101,9 +101,6 @@ bool SearchAppPaths(LPCWSTR asFilePath, CEStr& rsFound, const bool abSetPath, CE
|
||||
rsFound.Set(pszPath);
|
||||
bFound = true;
|
||||
|
||||
if (pszCheck != szVal)
|
||||
free(pszCheck);
|
||||
|
||||
// The program may require additional "%PATH%". So, if allowed...
|
||||
if (abSetPath)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user