Index: webrtc/base/asynctcpsocket.h |
diff --git a/webrtc/base/asynctcpsocket.h b/webrtc/base/asynctcpsocket.h |
index 321fa234938a8e9582ffc733710226ad7a460344..b0d0399e344798bab8a8866b8b5a3dcb30f97c16 100644 |
--- a/webrtc/base/asynctcpsocket.h |
+++ b/webrtc/base/asynctcpsocket.h |
@@ -71,7 +71,8 @@ class AsyncTCPSocketBase : public AsyncPacketSocket { |
scoped_ptr<AsyncSocket> socket_; |
bool listen_; |
- char* inbuf_, * outbuf_; |
+ scoped_ptr<char[]> inbuf_; |
+ scoped_ptr<char[]> outbuf_; |
size_t insize_, inpos_, outsize_, outpos_; |
RTC_DISALLOW_COPY_AND_ASSIGN(AsyncTCPSocketBase); |