mirror of
https://bitbucket.org/theswgsource/src-1.2.git
synced 2026-07-30 00:15:47 -04:00
recommit the innocuous fixes from cppcheck - the va_end calls were deleting pointers and breaking things further down the line
This commit is contained in:
@@ -217,8 +217,8 @@ bool VisibleExpandableEntry::pruneInvisibleChildren()
|
||||
for (Children::iterator i = m_children.begin(); i != m_children.end(); )
|
||||
if ((*i)->m_visible == false)
|
||||
{
|
||||
delete *i;
|
||||
m_children.erase(i);
|
||||
delete *i;
|
||||
}
|
||||
else
|
||||
++i;
|
||||
|
||||
Reference in New Issue
Block a user