[webkit-changes] [WebKit/WebKit] 6d701f: Fix a couple of memory leaks after 260826 at main

Wenson Hsieh noreply at github.com
Sat Feb 25 13:07:00 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 6d701f331859f7ab05bd58c9931cc921297db3e7
      https://github.com/WebKit/WebKit/commit/6d701f331859f7ab05bd58c9931cc921297db3e7
  Author: Wenson Hsieh <wenson_hsieh at apple.com>
  Date:   2023-02-25 (Sat, 25 Feb 2023)

  Changed paths:
    M Tools/TestWebKitAPI/Tests/mac/FontManagerTests.mm

  Log Message:
  -----------
  Fix a couple of memory leaks after 260826 at main
https://bugs.webkit.org/show_bug.cgi?id=252922

Reviewed by Aditya Keerthi.

Use `adoptNS()` to avoid leaking the +1 dictionaries, returned from `-mutableCopy`.

* Tools/TestWebKitAPI/Tests/mac/FontManagerTests.mm:
(TestWebKitAPI::TEST):

Canonical link: https://commits.webkit.org/260841@main




More information about the webkit-changes mailing list