Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 05b8197bbdfcb28d644ef45d3d468432437ac6b3
      
https://github.com/WebKit/WebKit/commit/05b8197bbdfcb28d644ef45d3d468432437ac6b3
  Author: Pablo Saavedra <[email protected]>
  Date:   2024-02-01 (Thu, 01 Feb 2024)

  Changed paths:
    M Source/WebKit/WPEPlatform/wpe/drm/WPEDisplayDRM.cpp

  Log Message:
  -----------
  Fix ignoring return value warning in WPEDisplayDRM::findDevice()
https://bugs.webkit.org/show_bug.cgi?id=268544

Reviewed by Carlos Garcia Campos.

The 273896@main introduces an wrong use of fd.release(). This
leads in a build warning error and a potential file descriptor leak.
Use 'fd = { };' instead of this to reset as invalid.

* Source/WebKit/WPEPlatform/wpe/drm/WPEDisplayDRM.cpp:
(findDevice):

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


_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to