Index: remoting/host/log_to_server.cc |
diff --git a/remoting/host/log_to_server.cc b/remoting/host/log_to_server.cc |
index f75764ade6c773917a0a70641f3c988928ff36ad..47c483688a3c24c269254e66c49bc27029a0ca07 100644 |
--- a/remoting/host/log_to_server.cc |
+++ b/remoting/host/log_to_server.cc |
@@ -97,7 +97,7 @@ void LogToServer::SendPendingEntries() { |
kChromotingXmlNamespace, kLogCommand))); |
while (!pending_entries_.empty()) { |
ServerLogEntry& entry = pending_entries_.front(); |
- stanza->AddElement(entry.ToStanza()); |
Alpha Left Google
2012/03/20 18:56:40
This old code seems to cause a crash.
Sergey Ulanov
2012/03/20 19:08:12
Not sure what you mean here. How does it cause a c
|
+ stanza->AddElement(entry.ToStanza().release()); |
pending_entries_.pop_front(); |
} |
// Send the stanza to the server. |