window: Plug leak of shm_surface_data on shm_suface_data_destroy()

This was causing a leak on every frame when using shm buffers.
Ander Conselvan de Oliveira 12 years ago committed by Kristian Høgsberg
parent d553bfc127
commit 2a3cd287ef
  1. 2
      clients/window.c

@ -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…
Cancel
Save