menu/theme: use wlr_texture_destroy()

This commit is contained in:
Johan Malm 2021-07-01 19:21:09 +01:00
parent a7dfa965d1
commit 6ad8252de9
3 changed files with 23 additions and 24 deletions

View file

@ -223,10 +223,5 @@ theme_init(struct theme *theme, struct wlr_renderer *renderer,
void
theme_finish(struct theme *theme)
{
zfree(theme->xbm_close_active_unpressed);
zfree(theme->xbm_maximize_active_unpressed);
zfree(theme->xbm_iconify_active_unpressed);
zfree(theme->xbm_close_inactive_unpressed);
zfree(theme->xbm_maximize_inactive_unpressed);
zfree(theme->xbm_iconify_inactive_unpressed);
; /* nothing to free */
}