Bug 231899 - Fix leak of object returned from MTLCreateSystemDefaultDevice()
Summary: Fix leak of object returned from MTLCreateSystemDefaultDevice()
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebGL (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: David Kilzer (:ddkilzer)
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2021-10-18 09:10 PDT by David Kilzer (:ddkilzer)
Modified: 2021-10-19 08:17 PDT (History)
8 users (show)

See Also:


Attachments
Patch v1 (2.78 KB, patch)
2021-10-18 09:14 PDT, David Kilzer (:ddkilzer)
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description David Kilzer (:ddkilzer) 2021-10-18 09:10:36 PDT
Fix leak of object returned from MTLCreateSystemDefaultDevice().
Comment 1 David Kilzer (:ddkilzer) 2021-10-18 09:10:50 PDT
Found by clang static analyzer.
Comment 2 Radar WebKit Bug Importer 2021-10-18 09:10:59 PDT
<rdar://problem/84373621>
Comment 3 David Kilzer (:ddkilzer) 2021-10-18 09:14:21 PDT
Created attachment 441612 [details]
Patch v1
Comment 4 EWS 2021-10-19 08:17:08 PDT
Committed r284454 (243214@main): <https://commits.webkit.org/243214@main>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 441612 [details].