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

Unified Diff: remoting/protocol/jingle_session_manager.cc

Issue 6317009: Fix memory leak in JingleSessionTest.Connect and friends (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 11 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/protocol/jingle_session_manager.cc
diff --git a/remoting/protocol/jingle_session_manager.cc b/remoting/protocol/jingle_session_manager.cc
index 1ca26bde8cbdbdcc1654a04d43b9df3d821f59cc..ffd5141b81dcd553a43b6ff6095ecdb972a0c345 100644
--- a/remoting/protocol/jingle_session_manager.cc
+++ b/remoting/protocol/jingle_session_manager.cc
@@ -288,7 +288,7 @@ void JingleSessionManager::OnSessionCreate(
}
JingleSession* jingle_session =
JingleSession::CreateServerSession(this, certificate_,
- private_key_.release());
+ private_key_.get());
certificate_ = NULL;
sessions_.push_back(make_scoped_refptr(jingle_session));
jingle_session->Init(cricket_session);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698