aboutsummaryrefslogtreecommitdiffstats
path: root/sway/tree
diff options
context:
space:
mode:
authorLibravatar Tony Crisci <tony@dubstepdish.com>2018-04-04 00:22:40 -0400
committerLibravatar Tony Crisci <tony@dubstepdish.com>2018-04-04 00:22:40 -0400
commit62c79ef4510d4687e35deab177cf5114a138261f (patch)
tree1565ba1fede2da35b170353f895c34205216dc38 /sway/tree
parentMerge branch 'wlroots' into split-containers2 (diff)
downloadsway-62c79ef4510d4687e35deab177cf5114a138261f.tar.gz
sway-62c79ef4510d4687e35deab177cf5114a138261f.tar.zst
sway-62c79ef4510d4687e35deab177cf5114a138261f.zip
fix double free
Diffstat (limited to 'sway/tree')
-rw-r--r--sway/tree/container.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sway/tree/container.c b/sway/tree/container.c
index 57dcb4bd..eaf4c117 100644
--- a/sway/tree/container.c
+++ b/sway/tree/container.c
@@ -253,7 +253,6 @@ struct sway_container *container_destroy(struct sway_container *con) {
253 container_remove_child(child); 253 container_remove_child(child);
254 container_add_child(parent, child); 254 container_add_child(parent, child);
255 } 255 }
256 _container_destroy(con);
257 } 256 }
258 _container_destroy(con); 257 _container_destroy(con);
259 break; 258 break;