summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorZack Rusin <zack@kde.org>2011-09-24 13:42:53 -0400
committerZack Rusin <zack@kde.org>2011-09-24 13:44:07 -0400
commitdaf82af9d5f270c87434cc1142f32a6407703781 (patch)
tree183146fd58efa22d4ab4216f7e5ca6a58312bbef /common
parent0f0a598677d6d1c97be830c5fa20d6187480aa52 (diff)
Make sure we reset the state when loading another trace file
fixes issue #41
Diffstat (limited to 'common')
-rw-r--r--common/trace_parser.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/common/trace_parser.cpp b/common/trace_parser.cpp
index a728577..2eff0cd 100644
--- a/common/trace_parser.cpp
+++ b/common/trace_parser.cpp
@@ -148,6 +148,8 @@ void Parser::close(void) {
}
}
bitmasks.clear();
+
+ next_call_no = 0;
}