Skip to content

Commit 87dafb1

Browse files
intorrXottab-DUTY
authored andcommitted
Fix memory leak at exit in xrEngine.
1 parent 8eff473 commit 87dafb1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/xrEngine/main.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,8 @@ void destroySettings()
110110
{
111111
auto s = const_cast<CInifile**>(&pSettings);
112112
xr_delete(*s);
113+
auto sa = const_cast<CInifile**>(&pSettingsAuth);
114+
xr_delete(*sa);
113115
xr_delete(pGameIni);
114116
}
115117

0 commit comments

Comments
 (0)