Title: [133626] trunk/Tools
Revision
133626
Author
[email protected]
Date
2012-11-06 09:50:03 -0800 (Tue, 06 Nov 2012)

Log Message

[chromium] MediaStream API: Remove the valgrind issue with MockWebRTCPeerConnectionHandler
https://bugs.webkit.org/show_bug.cgi?id=101336

Reviewed by Andreas Kling.

This patch changes the delete to delete [] to match the new[].

* DumpRenderTree/chromium/MockWebRTCPeerConnectionHandler.cpp:

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (133625 => 133626)


--- trunk/Tools/ChangeLog	2012-11-06 17:42:03 UTC (rev 133625)
+++ trunk/Tools/ChangeLog	2012-11-06 17:50:03 UTC (rev 133626)
@@ -1,3 +1,14 @@
+2012-11-06  Tommy Widenflycht  <[email protected]>
+
+        [chromium] MediaStream API: Remove the valgrind issue with MockWebRTCPeerConnectionHandler
+        https://bugs.webkit.org/show_bug.cgi?id=101336
+
+        Reviewed by Andreas Kling.
+
+        This patch changes the delete to delete [] to match the new[].
+
+        * DumpRenderTree/chromium/MockWebRTCPeerConnectionHandler.cpp:
+
 2012-11-06  Mihai Balan  <[email protected]>
 
         Add Adobe's bug tracker to committers.py

Modified: trunk/Tools/DumpRenderTree/chromium/MockWebRTCPeerConnectionHandler.cpp (133625 => 133626)


--- trunk/Tools/DumpRenderTree/chromium/MockWebRTCPeerConnectionHandler.cpp	2012-11-06 17:42:03 UTC (rev 133625)
+++ trunk/Tools/DumpRenderTree/chromium/MockWebRTCPeerConnectionHandler.cpp	2012-11-06 17:50:03 UTC (rev 133626)
@@ -161,7 +161,7 @@
     virtual void runIfValid() OVERRIDE
     {
         m_dataChannel.dataArrived(m_data, m_length);
-        delete m_data;
+        delete [] m_data;
     }
 
 private:
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to