diff options
| author | Tony Crisci <tony@dubstepdish.com> | 2018-04-02 23:15:19 -0400 | 
|---|---|---|
| committer | Tony Crisci <tony@dubstepdish.com> | 2018-04-02 23:15:19 -0400 | 
| commit | 33006c4e64c7f12ecb7dc199f0452712a520860b (patch) | |
| tree | a434f6323815221c173728989bbec67ecad5149d | |
| parent | 20f9d49b824fdb7118eab6f559d45b95ecac9331 (diff) | |
| download | sway-33006c4e64c7f12ecb7dc199f0452712a520860b.tar.xz | |
dont deallocate in container_close
| -rw-r--r-- | sway/tree/container.c | 8 | 
1 files changed, 0 insertions, 8 deletions
| diff --git a/sway/tree/container.c b/sway/tree/container.c index 686a52c7..cb407f0e 100644 --- a/sway/tree/container.c +++ b/sway/tree/container.c @@ -174,17 +174,9 @@ struct sway_container *container_close(struct sway_container *con) {  	switch (con->type) {  		case C_TYPES: -			wlr_log(L_ERROR, "tried to close an invalid container"); -			break;  		case C_ROOT: -			wlr_log(L_ERROR, "tried to close the root container"); -			break;  		case C_OUTPUT: -			container_output_destroy(con); -			break;  		case C_WORKSPACE: -			container_workspace_destroy(con); -			break;  		case C_CONTAINER:  			container_for_each_descendant_dfs(con, container_close_func, NULL);  			break; | 
