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

Unified Diff: net/socket/web_socket_server_socket.cc

Issue 9309090: Fix ref leak in WebSocketServerSocketImpl introduced in r115422. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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 | tools/heapcheck/suppressions.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/socket/web_socket_server_socket.cc
diff --git a/net/socket/web_socket_server_socket.cc b/net/socket/web_socket_server_socket.cc
index add4a55623077f5f6b7c511b3df677ed8f00a2cd..b5cbbde92f2523d8afc3bef2ca873ac28a67599f 100644
--- a/net/socket/web_socket_server_socket.cc
+++ b/net/socket/web_socket_server_socket.cc
@@ -726,7 +726,7 @@ class WebSocketServerSocketImpl : public net::WebSocketServerSocket {
}
operator net::DrainableIOBuffer*() {
- return new net::DrainableIOBuffer(io_buf_.release(), bytes_written_);
+ return new net::DrainableIOBuffer(io_buf_.get(), bytes_written_);
}
bool is_ok() { return is_ok_; }
« no previous file with comments | « no previous file | tools/heapcheck/suppressions.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698