libgit2

git_blob_free

Version:

Close an open blob

This is a wrapper around git_object_free()

IMPORTANT: It is necessary to call this method when you stop using a blob. Failure to do so will cause a memory leak.

Signature

void git_blob_free(git_blob *blob);

Parameters

In
blob

the blob to close

Versions