From b8f4fdc2f2506d1f20e8f46b21b7c8abbefb91e7 Mon Sep 17 00:00:00 2001 From: AlexVinS Date: Tue, 30 Aug 2016 05:55:51 +0300 Subject: [PATCH] fixed memory leak in CTradeWindow::initItems --- client/windows/CTradeWindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/windows/CTradeWindow.cpp b/client/windows/CTradeWindow.cpp index 11596a1f1..485a52d73 100644 --- a/client/windows/CTradeWindow.cpp +++ b/client/windows/CTradeWindow.cpp @@ -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); }