Changeset 290909 in webkit
- Timestamp:
- Mar 7, 2022, 2:08:34 PM (5 years ago)
- Location:
- branches/safari-613-branch/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
-
branches/safari-613-branch/Source/JavaScriptCore/API/JSValue.mm
r277920 r290909 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]; -
branches/safari-613-branch/Source/JavaScriptCore/ChangeLog
r290789 r290909 1 2022-03-07 Russell Epstein <repstein@apple.com> 2 3 Cherry-pick r287986. rdar://problem/87489048 4 5 Fix a few Objective-C object leaks due to early returns in `init` 6 https://bugs.webkit.org/show_bug.cgi?id=235162 7 <rdar://problem/87489048> 8 9 Reviewed by Wenson Hsieh. 10 11 Source/JavaScriptCore: 12 13 * API/JSValue.mm: 14 (-[JSValue initWithValue:inContext:]): 15 16 Source/WebCore: 17 18 * platform/ios/WebAVPlayerController.mm: 19 (-[WebAVPlayerController init]): 20 21 Source/WebKit: 22 23 * UIProcess/ios/WKHoverPlatter.mm: 24 (-[WKHoverPlatter initWithView:delegate:]): 25 26 Source/WebKitLegacy/mac: 27 28 * Storage/WebDatabaseQuotaManager.mm: 29 (WebCore::if): 30 31 32 git-svn-id: https://svn.webkit.org/repository/webkit/trunk@287986 268f45cc-cd09-0410-ab3c-d52691b4dbfc 33 34 2022-01-13 Tim Horton <timothy_horton@apple.com> 35 36 Fix a few Objective-C object leaks due to early returns in `init` 37 https://bugs.webkit.org/show_bug.cgi?id=235162 38 <rdar://problem/87489048> 39 40 Reviewed by Wenson Hsieh. 41 42 * API/JSValue.mm: 43 (-[JSValue initWithValue:inContext:]): 44 1 45 2022-03-03 Russell Epstein <repstein@apple.com> 2 46 -
branches/safari-613-branch/Source/WebCore/ChangeLog
r290701 r290909 1 2022-03-07 Russell Epstein <repstein@apple.com> 2 3 Cherry-pick r287986. rdar://problem/87489048 4 5 Fix a few Objective-C object leaks due to early returns in `init` 6 https://bugs.webkit.org/show_bug.cgi?id=235162 7 <rdar://problem/87489048> 8 9 Reviewed by Wenson Hsieh. 10 11 Source/JavaScriptCore: 12 13 * API/JSValue.mm: 14 (-[JSValue initWithValue:inContext:]): 15 16 Source/WebCore: 17 18 * platform/ios/WebAVPlayerController.mm: 19 (-[WebAVPlayerController init]): 20 21 Source/WebKit: 22 23 * UIProcess/ios/WKHoverPlatter.mm: 24 (-[WKHoverPlatter initWithView:delegate:]): 25 26 Source/WebKitLegacy/mac: 27 28 * Storage/WebDatabaseQuotaManager.mm: 29 (WebCore::if): 30 31 32 git-svn-id: https://svn.webkit.org/repository/webkit/trunk@287986 268f45cc-cd09-0410-ab3c-d52691b4dbfc 33 34 2022-01-13 Tim Horton <timothy_horton@apple.com> 35 36 Fix a few Objective-C object leaks due to early returns in `init` 37 https://bugs.webkit.org/show_bug.cgi?id=235162 38 <rdar://problem/87489048> 39 40 Reviewed by Wenson Hsieh. 41 42 * platform/ios/WebAVPlayerController.mm: 43 (-[WebAVPlayerController init]): 44 1 45 2022-03-01 Russell Epstein <repstein@apple.com> 2 46 -
branches/safari-613-branch/Source/WebCore/platform/ios/WebAVPlayerController.mm
r284743 r290909 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])) -
branches/safari-613-branch/Source/WebKit/ChangeLog
r290708 r290909 1 2022-03-07 Russell Epstein <repstein@apple.com> 2 3 Cherry-pick r287986. rdar://problem/87489048 4 5 Fix a few Objective-C object leaks due to early returns in `init` 6 https://bugs.webkit.org/show_bug.cgi?id=235162 7 <rdar://problem/87489048> 8 9 Reviewed by Wenson Hsieh. 10 11 Source/JavaScriptCore: 12 13 * API/JSValue.mm: 14 (-[JSValue initWithValue:inContext:]): 15 16 Source/WebCore: 17 18 * platform/ios/WebAVPlayerController.mm: 19 (-[WebAVPlayerController init]): 20 21 Source/WebKit: 22 23 * UIProcess/ios/WKHoverPlatter.mm: 24 (-[WKHoverPlatter initWithView:delegate:]): 25 26 Source/WebKitLegacy/mac: 27 28 * Storage/WebDatabaseQuotaManager.mm: 29 (WebCore::if): 30 31 32 git-svn-id: https://svn.webkit.org/repository/webkit/trunk@287986 268f45cc-cd09-0410-ab3c-d52691b4dbfc 33 34 2022-01-13 Tim Horton <timothy_horton@apple.com> 35 36 Fix a few Objective-C object leaks due to early returns in `init` 37 https://bugs.webkit.org/show_bug.cgi?id=235162 38 <rdar://problem/87489048> 39 40 Reviewed by Wenson Hsieh. 41 42 * UIProcess/ios/WKHoverPlatter.mm: 43 (-[WKHoverPlatter initWithView:delegate:]): 44 1 45 2022-03-01 Russell Epstein <repstein@apple.com> 2 46 -
branches/safari-613-branch/Source/WebKit/UIProcess/ios/WKHoverPlatter.mm
r284453 r290909 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]; -
branches/safari-613-branch/Source/WebKitLegacy/mac/ChangeLog
r290694 r290909 1 2022-03-07 Russell Epstein <repstein@apple.com> 2 3 Cherry-pick r287986. rdar://problem/87489048 4 5 Fix a few Objective-C object leaks due to early returns in `init` 6 https://bugs.webkit.org/show_bug.cgi?id=235162 7 <rdar://problem/87489048> 8 9 Reviewed by Wenson Hsieh. 10 11 Source/JavaScriptCore: 12 13 * API/JSValue.mm: 14 (-[JSValue initWithValue:inContext:]): 15 16 Source/WebCore: 17 18 * platform/ios/WebAVPlayerController.mm: 19 (-[WebAVPlayerController init]): 20 21 Source/WebKit: 22 23 * UIProcess/ios/WKHoverPlatter.mm: 24 (-[WKHoverPlatter initWithView:delegate:]): 25 26 Source/WebKitLegacy/mac: 27 28 * Storage/WebDatabaseQuotaManager.mm: 29 (WebCore::if): 30 31 32 git-svn-id: https://svn.webkit.org/repository/webkit/trunk@287986 268f45cc-cd09-0410-ab3c-d52691b4dbfc 33 34 2022-01-13 Tim Horton <timothy_horton@apple.com> 35 36 Fix a few Objective-C object leaks due to early returns in `init` 37 https://bugs.webkit.org/show_bug.cgi?id=235162 38 <rdar://problem/87489048> 39 40 Reviewed by Wenson Hsieh. 41 42 * Storage/WebDatabaseQuotaManager.mm: 43 (WebCore::if): 44 1 45 2022-03-01 Russell Epstein <repstein@apple.com> 2 46 -
branches/safari-613-branch/Source/WebKitLegacy/mac/Storage/WebDatabaseQuotaManager.mm
r229979 r290909 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.