mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-29 15:10:02 +00:00
Fix freeing blob objects from the ODB
The internal contents of the blob were being free'd but not the blob object itself. Signed-off-by: Vicent Marti <tanoku@gmail.com>
This commit is contained in:
parent
c3a20d5cab
commit
111e362263
@ -74,6 +74,7 @@ int git_blob_rawsize(git_blob *blob)
|
||||
void git_blob__free(git_blob *blob)
|
||||
{
|
||||
gitfo_free_buf(&blob->content);
|
||||
free(blob);
|
||||
}
|
||||
|
||||
int git_blob__parse(git_blob *blob)
|
||||
|
Loading…
Reference in New Issue
Block a user