Skip to content

Commit

Permalink
Fix wpe_dmabuf_pool object leak
Browse files Browse the repository at this point in the history
(cherry picked from commit 330f277)
  • Loading branch information
rawoul authored and aperezdc committed Sep 3, 2024
1 parent dbaac06 commit c08957e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/ws-client.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,7 @@ BaseTarget::~BaseTarget()

g_clear_pointer(&m_wl.frameCallback, wl_callback_destroy);
g_clear_pointer(&m_wl.surface, wl_surface_destroy);
g_clear_pointer(&m_wl.wpeDmabufPool, wpe_dmabuf_pool_destroy);

g_clear_pointer(&m_wl.wpeDmabufPoolManager, wpe_dmabuf_pool_manager_destroy);
g_clear_pointer(&m_wl.wpeBridge, wpe_bridge_destroy);
Expand Down

0 comments on commit c08957e

Please sign in to comment.