tree_restore(): fix memory leak

next
Michael Stapelberg 2016-01-09 12:50:29 +01:00
parent 338cb693dc
commit 6f53dc01ef
1 changed files with 1 additions and 0 deletions

View File

@ -84,6 +84,7 @@ bool tree_restore(const char *path, xcb_get_geometry_reply_t *geometry) {
focused = croot;
tree_append_json(focused, globbed, NULL);
free(globbed);
DLOG("appended tree, using new root\n");
croot = TAILQ_FIRST(&(croot->nodes_head));