Skip to content

Commit

Permalink
Fixed memleak in BSPModel
Browse files Browse the repository at this point in the history
  • Loading branch information
GermanAizek committed Sep 22, 2023
1 parent de3679f commit 1fa34c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rehlds/HLTV/Core/src/BSPModel.h
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 1fa34c2

Please sign in to comment.