[GTK] WaylandCompositorDisplay leaks its wl_display
authormcatanzaro@igalia.com <mcatanzaro@igalia.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 9 Apr 2018 07:14:15 +0000 (07:14 +0000)
committermcatanzaro@igalia.com <mcatanzaro@igalia.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 9 Apr 2018 07:14:15 +0000 (07:14 +0000)
commit1786a8e4cee912622c818f902c7dd66cf4a76533
tree257a9cf379207cae0ffffa81a218909f4b0b0267
parentaa79cd6c339c69efa2e03ea2db71820042e1153e
[GTK] WaylandCompositorDisplay leaks its wl_display
https://bugs.webkit.org/show_bug.cgi?id=184406

Reviewed by Carlos Garcia Campos.

Source/WebCore:

Remove the protected default constructor, for good measure.

* platform/graphics/wayland/PlatformDisplayWayland.h:

Source/WebKit:

* WebProcess/gtk/WaylandCompositorDisplay.cpp:
(WebKit::WaylandCompositorDisplay::create): Fix a log message (drive-by).
(WebKit::WaylandCompositorDisplay::WaylandCompositorDisplay): Fix the leak.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@230390 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/platform/graphics/wayland/PlatformDisplayWayland.h
Source/WebKit/ChangeLog
Source/WebKit/WebProcess/gtk/WaylandCompositorDisplay.cpp