mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-19 06:28:19 +00:00
Fix snapshot storage leak
This commit is contained in:
parent
5f565a5eb5
commit
588f8a833f
|
@ -110,6 +110,8 @@ public:
|
|||
CHolder *m_pFirst;
|
||||
CHolder *m_pLast;
|
||||
|
||||
CSnapshotStorage() { Init(); };
|
||||
~CSnapshotStorage() { PurgeAll(); };
|
||||
void Init();
|
||||
void PurgeAll();
|
||||
void PurgeUntil(int Tick);
|
||||
|
|
Loading…
Reference in a new issue