Merge pull request #1103 from mfrancis95/master

Fix memory leak related to Steam directories
This commit is contained in:
Fabian Greffrath 2018-11-08 20:46:53 +01:00 committed by GitHub
commit 54500659f9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -674,6 +674,7 @@ static void AddSteamDirs(void)
AddIWADPath(steampath, "/Hexen/base");
AddIWADPath(steampath, "/Hexen Deathkings of the Dark Citadel/base");
AddIWADPath(steampath, "/Strife");
free(steampath);
}
#endif // __MACOSX__
#endif // !_WIN32