@@ -268,6 +268,7 @@ __declspec( dllexport ) void WebSocketClient::thread()
else if( callback )
{
callback( this, m.dataLength, m.data, m.opcode == 1 ? TEXT : BINARY );
+ delete[] m.data;
}
else