Title: [240256] trunk/Source/WebCore
- Revision
- 240256
- Author
- [email protected]
- Date
- 2019-01-22 10:15:00 -0800 (Tue, 22 Jan 2019)
Log Message
Leak of NSMutableArray (128 bytes) in com.apple.WebKit.WebContent running WebKit layout tests
<https://webkit.org/b/193673>
<rdar://problem/47448241>
Reviewed by Dean Jackson.
* platform/graphics/gpu/cocoa/GPUBindGroupLayoutMetal.mm:
(WebCore::appendArgumentToArray): Use adoptNS() to fix the leak.
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (240255 => 240256)
--- trunk/Source/WebCore/ChangeLog 2019-01-22 18:00:14 UTC (rev 240255)
+++ trunk/Source/WebCore/ChangeLog 2019-01-22 18:15:00 UTC (rev 240256)
@@ -1,3 +1,14 @@
+2019-01-22 David Kilzer <[email protected]>
+
+ Leak of NSMutableArray (128 bytes) in com.apple.WebKit.WebContent running WebKit layout tests
+ <https://webkit.org/b/193673>
+ <rdar://problem/47448241>
+
+ Reviewed by Dean Jackson.
+
+ * platform/graphics/gpu/cocoa/GPUBindGroupLayoutMetal.mm:
+ (WebCore::appendArgumentToArray): Use adoptNS() to fix the leak.
+
2019-01-22 Zalan Bujtas <[email protected]>
[LFC][Floats] Decouple clearance computation and margin collapsing reset.
Modified: trunk/Source/WebCore/platform/graphics/gpu/cocoa/GPUBindGroupLayoutMetal.mm (240255 => 240256)
--- trunk/Source/WebCore/platform/graphics/gpu/cocoa/GPUBindGroupLayoutMetal.mm 2019-01-22 18:00:14 UTC (rev 240255)
+++ trunk/Source/WebCore/platform/graphics/gpu/cocoa/GPUBindGroupLayoutMetal.mm 2019-01-22 18:15:00 UTC (rev 240256)
@@ -55,7 +55,7 @@
{
BEGIN_BLOCK_OBJC_EXCEPTIONS;
if (!array)
- array = [[NSMutableArray alloc] initWithObjects:argument.get(), nil];
+ array = adoptNS([[NSMutableArray alloc] initWithObjects:argument.get(), nil]);
else
[array addObject:argument.get()];
END_BLOCK_OBJC_EXCEPTIONS;
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes