mirror of
https://github.com/labwc/labwc.git
synced 2025-11-03 09:01:51 -05:00
src/theme.c: Clean up corner buffers on finish
This commit is contained in:
parent
ae9314c65e
commit
78dc2ea7fe
1 changed files with 8 additions and 1 deletions
|
|
@ -493,5 +493,12 @@ theme_init(struct theme *theme, const char *theme_name)
|
||||||
void
|
void
|
||||||
theme_finish(struct theme *theme)
|
theme_finish(struct theme *theme)
|
||||||
{
|
{
|
||||||
; /* nothing to free */
|
wlr_buffer_drop(&theme->corner_top_left_active_normal->base);
|
||||||
|
wlr_buffer_drop(&theme->corner_top_left_inactive_normal->base);
|
||||||
|
wlr_buffer_drop(&theme->corner_top_right_active_normal->base);
|
||||||
|
wlr_buffer_drop(&theme->corner_top_right_inactive_normal->base);
|
||||||
|
theme->corner_top_left_active_normal = NULL;
|
||||||
|
theme->corner_top_left_inactive_normal = NULL;
|
||||||
|
theme->corner_top_right_active_normal = NULL;
|
||||||
|
theme->corner_top_right_inactive_normal = NULL;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue