diff options
Diffstat (limited to 'remoting/protocol/jingle_chromotocol_server.cc')
-rw-r--r-- | remoting/protocol/jingle_chromotocol_server.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/remoting/protocol/jingle_chromotocol_server.cc b/remoting/protocol/jingle_chromotocol_server.cc index 2300243..b0f680b 100644 --- a/remoting/protocol/jingle_chromotocol_server.cc +++ b/remoting/protocol/jingle_chromotocol_server.cc @@ -270,7 +270,7 @@ void JingleChromotocolServer::OnSessionCreate( if (incoming) { JingleChromotocolConnection* connection = new JingleChromotocolConnection(this); - connections_.push_back(connection); + connections_.push_back(make_scoped_refptr(connection)); connection->Init(session); } } |