diff --git a/src/d_iwad.c b/src/d_iwad.c index 739e5e7e..6840d065 100644 --- a/src/d_iwad.c +++ b/src/d_iwad.c @@ -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