Commit Diff
--- lib/worktree.c +++ lib/worktree.c @@ -4211,6 +4211,7 @@ worktree_status(struct got_worktree *worktree, const c } done: free_ignores(&ignores); + got_pathlist_free(&missing_children, GOT_PATHLIST_FREE_NONE); if (fd != -1 && close(fd) == -1 && err == NULL) err = got_error_from_errno("close"); free(ondisk_path);