[webkit-changes] [WebKit/WebKit] b1fa82: Fix memory leak under [WKKeyedCoder initWithDictio...

Chris Dumez noreply at github.com
Sat Mar 9 08:00:52 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: b1fa8241a6a7dd667b704b385f5871ac89928326
      https://github.com/WebKit/WebKit/commit/b1fa8241a6a7dd667b704b385f5871ac89928326
  Author: Chris Dumez <cdumez at apple.com>
  Date:   2024-03-09 (Sat, 09 Mar 2024)

  Changed paths:
    M Source/WebKit/Shared/Cocoa/WKKeyedCoder.mm

  Log Message:
  -----------
  Fix memory leak under [WKKeyedCoder initWithDictionary]
https://bugs.webkit.org/show_bug.cgi?id=270734
rdar://124247709

Reviewed by Darin Adler.

Make sure we adopt the result of `[NSDictionary mutableCopy]`.

* Source/WebKit/Shared/Cocoa/WKKeyedCoder.mm:
(-[WKKeyedCoder initWithDictionary:]):

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



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list