Skip to content

Commit

Permalink
Fix wpe_dmabuf_pool object leak
Browse files Browse the repository at this point in the history
  • Loading branch information
rawoul authored and aperezdc committed Sep 3, 2024
1 parent e56a259 commit 330f277
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 330f277

Please sign in to comment.