commit - bc573f3b85b11a3e55feecd664803f1cb71f4204
commit + ff6cc066002c80a4503e255f3a5a974734d223af
blob - c75f634ec41b4abc1db148e4d979cb0e26db4f76
blob + 2f62fb3e673f0c53cddd9996f7e60b4f2277bbeb
--- tog/tog.c
+++ tog/tog.c
{
const struct got_error *err = NULL;
struct got_object_id *commit_id = NULL;
- struct got_tree_object *tree = NULL;
struct tog_view *tree_view;
*new_view = NULL;
*new_view = tree_view;
done:
free(commit_id);
- if (err) {
- if (tree)
- got_object_tree_close(tree);
- }
return err;
}
static const struct got_error *