Commit 306d3f2a authored by Hannes Domani's avatar Hannes Domani

Valgrind: Fix crash when missing stacks

Change-Id: I69896f0d0c428f158bdb071b08a1c4b9f031183f
Reviewed-by: default avatarhjk <>
parent bb62fd3e
......@@ -485,6 +485,10 @@ void Parser::Private::parseError()
while (auxs.size() < frames.size())
//add empty stacks until sizes match
while (frames.size() < auxs.size())
QVector<Stack> stacks;
for (int i = 0; i < auxs.size(); ++i)
stacks.append(makeStack(auxs[i], frames[i]));
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment