stefan pushed a commit to branch master. http://git.enlightenment.org/core/enlightenment.git/commit/?id=22278399d39b63cfedf68052dede5b342836191f
commit 22278399d39b63cfedf68052dede5b342836191f Author: Stefan Schmidt <[email protected]> Date: Thu Mar 27 16:06:06 2014 +0100 tiling: Free allocated memory on error path. We don't use new_node in this code path. Free before returning. CID 1186205 --- src/modules/tiling/window_tree.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/modules/tiling/window_tree.c b/src/modules/tiling/window_tree.c index d43d1ae..9470bda 100644 --- a/src/modules/tiling/window_tree.c +++ b/src/modules/tiling/window_tree.c @@ -92,6 +92,7 @@ tiling_window_tree_add(Window_Tree *root, Window_Tree *parent, if (split_type > TILING_SPLIT_VERTICAL) { + free(new_node); return root; } else if (!root) --
