mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-01-11 16:50:17 +01:00
Clean up context_pool upon static data reset
In commit f46ba56d5b the static context
stash was replaced by a dynamic freed pool, which needs to be cleared
upon resets.
Fixes:
cairo.c:181: warning: ‘context_pool’ defined but not used
Reported-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
parent
fe3ca9c36f
commit
ef659649d3
1 changed files with 2 additions and 0 deletions
|
|
@ -233,6 +233,8 @@ _cairo_reset_static_data (void)
|
|||
}
|
||||
}
|
||||
CAIRO_MUTEX_UNLOCK (_cairo_error_mutex);
|
||||
|
||||
_freed_pool_reset (&context_pool);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue