Merge pull request #1103 from mfrancis95/master
Fix memory leak related to Steam directories
This commit is contained in:
commit
54500659f9
1 changed files with 1 additions and 0 deletions
|
|
@ -674,6 +674,7 @@ static void AddSteamDirs(void)
|
||||||
AddIWADPath(steampath, "/Hexen/base");
|
AddIWADPath(steampath, "/Hexen/base");
|
||||||
AddIWADPath(steampath, "/Hexen Deathkings of the Dark Citadel/base");
|
AddIWADPath(steampath, "/Hexen Deathkings of the Dark Citadel/base");
|
||||||
AddIWADPath(steampath, "/Strife");
|
AddIWADPath(steampath, "/Strife");
|
||||||
|
free(steampath);
|
||||||
}
|
}
|
||||||
#endif // __MACOSX__
|
#endif // __MACOSX__
|
||||||
#endif // !_WIN32
|
#endif // !_WIN32
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue