diff options
Diffstat (limited to 'emulator/qtools/q2dm.cpp')
-rw-r--r-- | emulator/qtools/q2dm.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/emulator/qtools/q2dm.cpp b/emulator/qtools/q2dm.cpp index 7f987dc..74dbaeb 100644 --- a/emulator/qtools/q2dm.cpp +++ b/emulator/qtools/q2dm.cpp @@ -208,7 +208,7 @@ int main(int argc, char **argv) if (pStack == NULL) { pStack = new CallStackType(event.pid, kNumStackFrames, trace); stacks[event.pid] = pStack; - char *name = trace->GetProcessName(event.pid); + const char *name = trace->GetProcessName(event.pid); dmtrace->addThread(event.pid, name); } @@ -267,7 +267,6 @@ int main(int argc, char **argv) } } - dmtrace->close(); delete dmtrace; delete trace; |