libgit2

git_remote_free

Version:

Free the memory associated with a remote

This also disconnects from the remote, if the connection has not been closed yet (using git_remote_disconnect).

Signature

void git_remote_free(git_remote *remote);

Parameters

In
remote

the remote to free

Versions