⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 245955 in webkit


Ignore:
Timestamp:
May 31, 2019, 1:13:56 AM (7 years ago)
Author:
Carlos Garcia Campos
Message:

[GTK] Fix memory leak introduced in r245807
https://bugs.webkit.org/show_bug.cgi?id=198369

Reviewed by Michael Catanzaro.

We should destroy the wpe_view_backend_exportable_fdo created in AcceleratedBackingStoreWayland.

  • UIProcess/gtk/AcceleratedBackingStoreWayland.cpp:

(WebKit::AcceleratedBackingStoreWayland::~AcceleratedBackingStoreWayland):

Location:
trunk/Source/WebKit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/ChangeLog

    r245954 r245955  
     12019-05-31  Carlos Garcia Campos  <cgarcia@igalia.com>
     2
     3        [GTK] Fix memory leak introduced in r245807
     4        https://bugs.webkit.org/show_bug.cgi?id=198369
     5
     6        Reviewed by Michael Catanzaro.
     7
     8        We should destroy the wpe_view_backend_exportable_fdo created in AcceleratedBackingStoreWayland.
     9
     10        * UIProcess/gtk/AcceleratedBackingStoreWayland.cpp:
     11        (WebKit::AcceleratedBackingStoreWayland::~AcceleratedBackingStoreWayland):
     12
    1132019-05-31  Carlos Garcia Campos  <cgarcia@igalia.com>
    214
  • trunk/Source/WebKit/UIProcess/gtk/AcceleratedBackingStoreWayland.cpp

    r245807 r245955  
    133133            glDeleteTextures(1, &m_viewTexture);
    134134    }
     135    wpe_view_backend_exportable_fdo_destroy(m_exportable);
    135136#else
    136137    WaylandCompositor::singleton().unregisterWebPage(m_webPage);
Note: See TracChangeset for help on using the changeset viewer.