libgit2

git_strarray_dispose

Version:

Free the strings contained in a string array. This method should be called on git_strarray objects that were provided by the library. Not doing so, will result in a memory leak.

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

Signature

void git_strarray_dispose(git_strarray *array);

Parameters

In
array

The git_strarray that contains strings to free

Versions