libgit2

git_tag_free

Version:

Close an open tag

This is a wrapper around git_object_free()

IMPORTANT: It is necessary to call this method when you stop using a tag. 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