libgit2

git_oidarray_dispose

Version:

Free the object IDs contained in an oid_array. This method should be called on git_oidarray objects that were provided by the library. Not doing so will result in a memory leak.

This does not free the git_oidarray itself, since the library will never allocate that object directly itself.

Signature

void git_oidarray_dispose(git_oidarray *array);

Parameters

In
array

git_oidarray from which to free oid data

Versions