Commit 7cb1c08e authored by hjk's avatar hjk
Browse files

debugger: don't leak...

parent 70bdb372
...@@ -199,6 +199,8 @@ DisassemblerViewAgent::~DisassemblerViewAgent() ...@@ -199,6 +199,8 @@ DisassemblerViewAgent::~DisassemblerViewAgent()
d->locationMark = 0; d->locationMark = 0;
delete d; delete d;
d = 0; d = 0;
delete d->locationMark;
d->locationMark = 0;
} }
void DisassemblerViewAgent::cleanup() void DisassemblerViewAgent::cleanup()
......
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