diff options
Diffstat (limited to 'sway/tree/view.c')
-rw-r--r-- | sway/tree/view.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sway/tree/view.c b/sway/tree/view.c index 8db5c9d5..aaca8753 100644 --- a/sway/tree/view.c +++ b/sway/tree/view.c | |||
@@ -779,6 +779,7 @@ static void update_marks_texture(struct sway_view *view, | |||
779 | } | 779 | } |
780 | if (*texture) { | 780 | if (*texture) { |
781 | wlr_texture_destroy(*texture); | 781 | wlr_texture_destroy(*texture); |
782 | *texture = NULL; | ||
782 | } | 783 | } |
783 | if (!view->marks->length) { | 784 | if (!view->marks->length) { |
784 | return; | 785 | return; |