git_commit_free

Close an open commit

This is a wrapper around git_object_free()

IMPORTANT: It *is* necessary to call this method when you stop using a commit. Failure to do so will cause a memory leak.

extern (C) nothrow @nogc
void
git_commit_free

Parameters

commit libgit2_d.types.git_commit*

the commit to close

Meta