libgit2

git_odb_object_free

Version:

Close an ODB object

This method must always be called once a git_odb_object is no longer needed, otherwise memory will leak.

Signature

void git_odb_object_free(git_odb_object *object);

Parameters

In
object

object to close

Versions