1
0
mirror of https://github.com/wolfpld/tracy synced 2025-04-28 20:23:51 +00:00

Unmap icon buffer memory.

This commit is contained in:
Bartosz Taudul 2025-02-20 00:14:24 +01:00
parent c5dc5f4455
commit 48efd98df7
No known key found for this signature in database
GPG Key ID: B7FE2008B7575DF3

View File

@ -1294,6 +1294,7 @@ void Backend::SetIcon( uint8_t* data, int w, int h )
xdg_toplevel_icon_manager_v1_set_icon( s_iconMgr, s_toplevel, icon );
xdg_toplevel_icon_v1_destroy( icon );
for( auto buf : bufs ) wl_buffer_destroy( buf );
munmap( membuf, size );
wl_shm_pool_destroy( pool );
}