From 1fa34c2645006f2023c5b215010f8a7f19153986 Mon Sep 17 00:00:00 2001 From: German Semenov Date: Fri, 22 Sep 2023 17:49:16 +0300 Subject: [PATCH] Fixed memleak in BSPModel --- rehlds/HLTV/Core/src/BSPModel.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rehlds/HLTV/Core/src/BSPModel.h b/rehlds/HLTV/Core/src/BSPModel.h index 1ceb8dfdc..15751dc11 100644 --- a/rehlds/HLTV/Core/src/BSPModel.h +++ b/rehlds/HLTV/Core/src/BSPModel.h @@ -45,7 +45,7 @@ class IBaseSystem; class BSPModel: public IBSPModel { public: BSPModel() {} - virtual ~BSPModel() {} + virtual ~BSPModel() { delete m_wadpath; } EXT_FUNC void Init(IBaseSystem *system); EXT_FUNC void Clear();