[webkit-changes] [WebKit/WebKit] 143afe: -Wfree-nonheap-object and -Wuse-after-free from CS...

Michael Catanzaro noreply at github.com
Wed Oct 12 10:10:33 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 143afebb28dd58d9f67f082f9c6967924f8389e7
      https://github.com/WebKit/WebKit/commit/143afebb28dd58d9f67f082f9c6967924f8389e7
  Author: Michael Catanzaro <mcatanzaro at redhat.com>
  Date:   2022-10-12 (Wed, 12 Oct 2022)

  Changed paths:
    M Source/WebCore/css/CSSValue.h

  Log Message:
  -----------
  -Wfree-nonheap-object and -Wuse-after-free from CSSValue.h
https://bugs.webkit.org/show_bug.cgi?id=246292

Reviewed by Darin Adler.

Suppress false-positive warnings. It seems GCC is getting confused by
immortal refcounted CSSValues and doesn't realize they can never be
freed.

* Source/WebCore/css/CSSValue.h:
(WebCore::CSSValue::deref const):

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




More information about the webkit-changes mailing list