1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-04 13:42:55 +01:00

Fix leak in PaintEntryPool::Chain::operator= (#18183)

Inspired by #18178
This commit is contained in:
Michał Janiszewski
2022-10-04 00:53:33 +02:00
committed by GitHub
parent 34cb2a96f1
commit bcce0c2d12

View File

@@ -948,6 +948,7 @@ PaintEntryPool::Chain::~Chain()
PaintEntryPool::Chain& PaintEntryPool::Chain::operator=(Chain&& chain) noexcept
{
Clear();
Pool = chain.Pool;
Head = chain.Head;
Current = chain.Current;