forked from qt-creator/qt-creator
Debugger: Fix memory leak
Detected by valgrind Change-Id: If182eaa67141ce30479a6fe1ffea9e417d0edf5c Reviewed-by: hjk <hjk121@nokiamail.com>
This commit is contained in:
@@ -141,7 +141,10 @@ BreakHandler::BreakHandler()
|
||||
}
|
||||
|
||||
BreakHandler::~BreakHandler()
|
||||
{}
|
||||
{
|
||||
for (Iterator it = m_storage.begin(), end = m_storage.end(); it != end; ++it)
|
||||
it->destroyMarker();
|
||||
}
|
||||
|
||||
QIcon BreakHandler::breakpointIcon()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user