[webkit-changes] [WebKit/WebKit] cc929d: REGRESSION (246550 at main): WKFoundTextRange leaks a...

Commit Queue noreply at github.com
Wed Jan 4 14:34:04 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: cc929d954b702158123dc651efe17215bf781808
      https://github.com/WebKit/WebKit/commit/cc929d954b702158123dc651efe17215bf781808
  Author: David Kilzer <ddkilzer at apple.com>
  Date:   2023-01-04 (Wed, 04 Jan 2023)

  Changed paths:
    M Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm

  Log Message:
  -----------
  REGRESSION (246550 at main): WKFoundTextRange leaks an NSString
https://bugs.webkit.org/show_bug.cgi?id=250078
<rdar://103875585>

Reviewed by Chris Dumez.

Fix leak caused by missing -dealloc method.  Found by clang
static analyzer.

* Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm:
(-[WKFoundTextRange dealloc]): Add.
- Release _frameIdentifier to fix the leak.

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




More information about the webkit-changes mailing list