libgit2

git_rawobj_close

Version:

Release all memory used by the obj structure.

As a result of this call, obj->data will be set to NULL.

If obj->data is already NULL, nothing happens.

Signature

void git_rawobj_close(git_rawobj *obj);

Parameters

In
obj

object descriptor to free.

Versions