libgit2

git_buf_dispose

Version:

Free the memory referred to by the git_buf.

Note that this does not free the git_buf itself, just the memory pointed to by buffer->ptr.

Signature

void git_buf_dispose(git_buf *buffer);

Parameters

In
buffer

The buffer to deallocate

Versions