1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-08-13 19:54:17 +02:00

fixed memory leak in CTradeWindow::initItems

This commit is contained in:
AlexVinS
2016-08-30 05:55:51 +03:00
parent e2e5bc4920
commit b8f4fdc2f2

View File

@@ -427,7 +427,7 @@ void CTradeWindow::initItems(bool Left)
hlp->pos = pos[j] + this->pos.topLeft(); hlp->pos = pos[j] + this->pos.topLeft();
items[Left].push_back(hlp); items[Left].push_back(hlp);
} }
vstd::clear_pointer(ids);
initSubs(Left); initSubs(Left);
} }