Skip to content

Commit 642b097

Browse files
committed
doc: remove unneeded TODO for release_commit_memory
The code that was merged with commit 1102405 left in an TODO that is no longer relevant. It seems as if we can remove this todo. util seems to not be a field of the struct commit, definition of struct commit --> commit.c:27 The commit list also, does not contain a field for util. Signed-off-by: Albert Burt <[email protected]>
1 parent 79ff0c6 commit 642b097

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

commit.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -357,8 +357,6 @@ void release_commit_memory(struct commit *c)
357357
c->index = 0;
358358
free_commit_buffer(c);
359359
free_commit_list(c->parents);
360-
/* TODO: what about commit->util? */
361-
362360
c->object.parsed = 0;
363361
}
364362

0 commit comments

Comments
 (0)