mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-04 11:47:59 +02:00
xlib/shm: Tidy up destroying the mempool for a shm block
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
parent
02a2baa8dc
commit
a364a106b2
1 changed files with 1 additions and 1 deletions
|
|
@ -504,7 +504,7 @@ _cairo_xlib_shm_info_find (cairo_xlib_display_t *display, size_t size,
|
|||
*last_request = info->last_request;
|
||||
|
||||
_pqueue_pop (&display->shm->info);
|
||||
_cairo_mempool_free (&info->pool->mem, info->mem);
|
||||
_cairo_mempool_free (&pool->mem, info->mem);
|
||||
free (info);
|
||||
|
||||
if (pool->mem.free_bytes >= size) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue