libgit2

git_tag_free

Version:

Close an open tag

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

IMPORTANT: You MUST call this method when you are through with a tag to release memory. Failure to do so will cause a memory leak.

Signature

void git_tag_free(git_tag *tag);

Parameters

In
tag

the tag to close

Versions