mirror of
https://github.com/vcmi/vcmi.git
synced 2025-01-26 03:52:01 +02:00
fixed memory leak in CTradeWindow::initItems
This commit is contained in:
parent
e2e5bc4920
commit
b8f4fdc2f2
@ -427,7 +427,7 @@ void CTradeWindow::initItems(bool Left)
|
||||
hlp->pos = pos[j] + this->pos.topLeft();
|
||||
items[Left].push_back(hlp);
|
||||
}
|
||||
|
||||
vstd::clear_pointer(ids);
|
||||
initSubs(Left);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user