From 87dafb183616c58675459708fc95941d50caa0dd Mon Sep 17 00:00:00 2001 From: Igor Novikov Date: Mon, 18 Dec 2017 22:23:50 +0500 Subject: [PATCH] Fix memory leak at exit in xrEngine. --- src/xrEngine/main.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/xrEngine/main.cpp b/src/xrEngine/main.cpp index 1832f59694e..a4321516a2d 100644 --- a/src/xrEngine/main.cpp +++ b/src/xrEngine/main.cpp @@ -110,6 +110,8 @@ void destroySettings() { auto s = const_cast(&pSettings); xr_delete(*s); + auto sa = const_cast(&pSettingsAuth); + xr_delete(*sa); xr_delete(pGameIni); }