git_tree_free

Close an open tree

You can no longer use the git_tree pointer after this call.

IMPORTANT: You MUST call this method when you stop using a tree to release memory. Failure to do so will cause a memory leak.

extern (C) nothrow @nogc
void
git_tree_free

Parameters

tree libgit2_d.types.git_tree*

The tree to close

Meta