Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

match new[] with delete[] instead of delete

  • Loading branch information...
commit c63ec99baefac848bd1ac27ecf061bded1a4ff74 1 parent 87df844
authored July 18, 2012

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  xbmc/network/websocket/WebSocketV8.cpp
2  xbmc/network/websocket/WebSocketV8.cpp
@@ -185,7 +185,7 @@ const CWebSocketFrame* CWebSocketV8::close(WebSocketCloseReason reason /* = WebS
185 185
     m_state = WebSocketStateClosed;
186 186
 
187 187
   CWebSocketFrame* frame = new CWebSocketFrame(WebSocketConnectionClose, data, length);
188  
-  delete data;
  188
+  delete[] data;
189 189
 
190 190
   return frame;
191 191
 }

0 notes on commit c63ec99

Please sign in to comment.
Something went wrong with that request. Please try again.