Fix snapshot storage leak

This commit is contained in:
Ryozuki 2020-04-11 13:38:02 +02:00
parent 5f565a5eb5
commit 588f8a833f
No known key found for this signature in database
GPG key ID: 848FCC08E5B89681

View file

@ -110,6 +110,8 @@ public:
CHolder *m_pFirst; CHolder *m_pFirst;
CHolder *m_pLast; CHolder *m_pLast;
CSnapshotStorage() { Init(); };
~CSnapshotStorage() { PurgeAll(); };
void Init(); void Init();
void PurgeAll(); void PurgeAll();
void PurgeUntil(int Tick); void PurgeUntil(int Tick);