Changeset 287986 in webkit
- Timestamp:
- Jan 13, 2022, 12:22:50 PM (5 years ago)
- Location:
- trunk/Source
- Files:
-
- 8 edited
-
JavaScriptCore/API/JSValue.mm (modified) (1 diff)
-
JavaScriptCore/ChangeLog (modified) (1 diff)
-
WebCore/ChangeLog (modified) (1 diff)
-
WebCore/platform/ios/WebAVPlayerController.mm (modified) (1 diff)
-
WebKit/ChangeLog (modified) (1 diff)
-
WebKit/UIProcess/ios/WKHoverPlatter.mm (modified) (1 diff)
-
WebKitLegacy/mac/ChangeLog (modified) (1 diff)
-
WebKitLegacy/mac/Storage/WebDatabaseQuotaManager.mm (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/API/JSValue.mm
r277920 r287986 1109 1109 - (JSValue *)initWithValue:(JSValueRef)value inContext:(JSContext *)context 1110 1110 { 1111 if (!value || !context) 1111 if (!value || !context) { 1112 [self release]; 1112 1113 return nil; 1114 } 1113 1115 1114 1116 self = [super init]; -
trunk/Source/JavaScriptCore/ChangeLog
r287961 r287986 1 2022-01-13 Tim Horton <timothy_horton@apple.com> 2 3 Fix a few Objective-C object leaks due to early returns in `init` 4 https://bugs.webkit.org/show_bug.cgi?id=235162 5 <rdar://problem/87489048> 6 7 Reviewed by Wenson Hsieh. 8 9 * API/JSValue.mm: 10 (-[JSValue initWithValue:inContext:]): 11 1 12 2022-01-12 Mark Lam <mark.lam@apple.com> 2 13 -
trunk/Source/WebCore/ChangeLog
r287984 r287986 1 2022-01-13 Tim Horton <timothy_horton@apple.com> 2 3 Fix a few Objective-C object leaks due to early returns in `init` 4 https://bugs.webkit.org/show_bug.cgi?id=235162 5 <rdar://problem/87489048> 6 7 Reviewed by Wenson Hsieh. 8 9 * platform/ios/WebAVPlayerController.mm: 10 (-[WebAVPlayerController init]): 11 1 12 2022-01-13 Alejandro G. Castro <alex@igalia.com> 2 13 -
trunk/Source/WebCore/platform/ios/WebAVPlayerController.mm
r284743 r287986 67 67 - (instancetype)init 68 68 { 69 if (!getAVPlayerControllerClass()) 69 if (!getAVPlayerControllerClass()) { 70 [self release]; 70 71 return nil; 72 } 71 73 72 74 if (!(self = [super init])) -
trunk/Source/WebKit/ChangeLog
r287979 r287986 1 2022-01-13 Tim Horton <timothy_horton@apple.com> 2 3 Fix a few Objective-C object leaks due to early returns in `init` 4 https://bugs.webkit.org/show_bug.cgi?id=235162 5 <rdar://problem/87489048> 6 7 Reviewed by Wenson Hsieh. 8 9 * UIProcess/ios/WKHoverPlatter.mm: 10 (-[WKHoverPlatter initWithView:delegate:]): 11 1 12 2022-01-13 Patrick Angle <pangle@apple.com> 2 13 -
trunk/Source/WebKit/UIProcess/ios/WKHoverPlatter.mm
r284453 r287986 94 94 { 95 95 auto parameters = WKHoverPlatterDomain.rootSettings; 96 if (!parameters.platterEnabledForMouse && !parameters.platterEnabledForHover) 96 if (!parameters.platterEnabledForMouse && !parameters.platterEnabledForHover) { 97 [self release]; 97 98 return nil; 99 } 98 100 99 101 self = [super init]; -
trunk/Source/WebKitLegacy/mac/ChangeLog
r287951 r287986 1 2022-01-13 Tim Horton <timothy_horton@apple.com> 2 3 Fix a few Objective-C object leaks due to early returns in `init` 4 https://bugs.webkit.org/show_bug.cgi?id=235162 5 <rdar://problem/87489048> 6 7 Reviewed by Wenson Hsieh. 8 9 * Storage/WebDatabaseQuotaManager.mm: 10 (WebCore::if): 11 1 12 2022-01-12 Matt Woodrow <mattwoodrow@apple.com> 2 13 -
trunk/Source/WebKitLegacy/mac/Storage/WebDatabaseQuotaManager.mm
r229979 r287986 36 36 - (id)initWithOrigin:(WebSecurityOrigin *)origin 37 37 { 38 if (!origin) 38 if (!origin) { 39 [self release]; 39 40 return nil; 41 } 40 42 41 43 self = [super init];
Note:
See TracChangeset
for help on using the changeset viewer.