summaryrefslogtreecommitdiff
path: root/sway/tree/container.c
diff options
context:
space:
mode:
authorDrew DeVault <[email protected]>2018-07-06 08:43:33 -0700
committerGitHub <[email protected]>2018-07-06 08:43:33 -0700
commit817e847749240a0c04756c37c88dc554efc56c9e (patch)
treeef2a716f8ea06ce8bdc63d1a682901b24e5bfcf0 /sway/tree/container.c
parent55c54bb63b82ee75e1893b48b3ce18f7317c6199 (diff)
parentb3c55dd909b070625c9bfcebcb89cb8463e2ffc9 (diff)
Merge pull request #2206 from martinetd/leaks
Fix a bunch of leaks
Diffstat (limited to 'sway/tree/container.c')
-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) {
return;
}
free(cont->name);
+ free(cont->formatted_title);
wlr_texture_destroy(cont->title_focused);
wlr_texture_destroy(cont->title_focused_inactive);
wlr_texture_destroy(cont->title_unfocused);