window: Plug leak of shm_surface_data on shm_suface_data_destroy()
This was causing a leak on every frame when using shm buffers.
This commit is contained in:
parent
d553bfc127
commit
2a3cd287ef
|
@ -422,6 +422,8 @@ shm_surface_data_destroy(void *p)
|
|||
wl_buffer_destroy(data->data.buffer);
|
||||
if (data->pool)
|
||||
shm_pool_destroy(data->pool);
|
||||
|
||||
free(data);
|
||||
}
|
||||
|
||||
static struct wl_shm_pool *
|
||||
|
|
Loading…
Reference in New Issue