Index: net/tools/flip_server/sm_connection.cc |
diff --git a/net/tools/flip_server/sm_connection.cc b/net/tools/flip_server/sm_connection.cc |
index b57c5a9bd3527c4aa745a3bc158e28ee4add6e99..f47b502d0d7e2bfc0bec889b5737f59dd5962416 100644 |
--- a/net/tools/flip_server/sm_connection.cc |
+++ b/net/tools/flip_server/sm_connection.cc |
@@ -23,6 +23,11 @@ namespace net { |
// static |
bool SMConnection::force_spdy_ = false; |
+DataFrame::~DataFrame() { |
+ if (delete_when_done) |
+ delete[] data; |
+} |
+ |
SMConnection::SMConnection(EpollServer* epoll_server, |
SSLState* ssl_state, |
MemoryCache* memory_cache, |
@@ -659,5 +664,3 @@ SMConnection* SMConnection::NewSMConnection(EpollServer* epoll_server, |
} |
} // namespace net |
- |
- |