Changeset 240256 in webkit
- Timestamp:
- Jan 22, 2019, 10:15:00 AM (8 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
platform/graphics/gpu/cocoa/GPUBindGroupLayoutMetal.mm (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r240253 r240256 1 2019-01-22 David Kilzer <ddkilzer@apple.com> 2 3 Leak of NSMutableArray (128 bytes) in com.apple.WebKit.WebContent running WebKit layout tests 4 <https://webkit.org/b/193673> 5 <rdar://problem/47448241> 6 7 Reviewed by Dean Jackson. 8 9 * platform/graphics/gpu/cocoa/GPUBindGroupLayoutMetal.mm: 10 (WebCore::appendArgumentToArray): Use adoptNS() to fix the leak. 11 1 12 2019-01-22 Zalan Bujtas <zalan@apple.com> 2 13 -
trunk/Source/WebCore/platform/graphics/gpu/cocoa/GPUBindGroupLayoutMetal.mm
r240180 r240256 56 56 BEGIN_BLOCK_OBJC_EXCEPTIONS; 57 57 if (!array) 58 array = [[NSMutableArray alloc] initWithObjects:argument.get(), nil];58 array = adoptNS([[NSMutableArray alloc] initWithObjects:argument.get(), nil]); 59 59 else 60 60 [array addObject:argument.get()];
Note:
See TracChangeset
for help on using the changeset viewer.