Skip to content

Commit

Permalink
Fix memory leak at exit in xrEngine.
Browse files Browse the repository at this point in the history
  • Loading branch information
intorr authored and Xottab-DUTY committed Dec 18, 2017
1 parent 8eff473 commit 87dafb1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/xrEngine/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,8 @@ void destroySettings()
{
auto s = const_cast<CInifile**>(&pSettings);
xr_delete(*s);
auto sa = const_cast<CInifile**>(&pSettingsAuth);
xr_delete(*sa);
xr_delete(pGameIni);
}

Expand Down

0 comments on commit 87dafb1

Please sign in to comment.