summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar Dominique Martinet <asmadeus@codewreck.org>2018-07-04 18:50:13 +0900
committerLibravatar Dominique Martinet <asmadeus@codewreck.org>2018-07-05 08:13:10 +0900
commitffbe91c245ae09bc94f31556cb4104c5957aacef (patch)
tree0d8d021cc129875da9e20e5924355fb9b71a37fb
parentipc-server: free clients at destroy (diff)
downloadsway-ffbe91c245ae09bc94f31556cb4104c5957aacef.tar.gz
sway-ffbe91c245ae09bc94f31556cb4104c5957aacef.tar.zst
sway-ffbe91c245ae09bc94f31556cb4104c5957aacef.zip
container_free: free formatted title
-rw-r--r--sway/tree/container.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sway/tree/container.c b/sway/tree/container.c
index 3614d4e7..9093feba 100644
--- a/sway/tree/container.c
+++ b/sway/tree/container.c
@@ -151,6 +151,7 @@ void container_free(struct sway_container *cont) {
151 return; 151 return;
152 } 152 }
153 free(cont->name); 153 free(cont->name);
154 free(cont->formatted_title);
154 wlr_texture_destroy(cont->title_focused); 155 wlr_texture_destroy(cont->title_focused);
155 wlr_texture_destroy(cont->title_focused_inactive); 156 wlr_texture_destroy(cont->title_focused_inactive);
156 wlr_texture_destroy(cont->title_unfocused); 157 wlr_texture_destroy(cont->title_unfocused);