Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2869)

Unified Diff: src/debug-agent.cc

Issue 153623009: Fixed space leak in DebuggerAgentSession. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/debug-agent.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/debug-agent.cc
diff --git a/src/debug-agent.cc b/src/debug-agent.cc
index d3d22c9133c22f3e8f82ce42ef2ae14f87bdd744..49790cee99c2477fd1e62610cbdfcdc9810a08d5 100644
--- a/src/debug-agent.cc
+++ b/src/debug-agent.cc
@@ -173,6 +173,11 @@ void DebuggerAgent::DebuggerMessage(const v8::Debug::Message& message) {
}
+DebuggerAgentSession::~DebuggerAgentSession() {
+ delete client_;
+}
+
+
void DebuggerAgent::OnSessionClosed(DebuggerAgentSession* session) {
// Don't do anything during termination.
if (terminate_) {
« no previous file with comments | « src/debug-agent.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698