mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-20 06:54:32 +00:00
patch: formatting cleanups
This commit is contained in:
parent
e564fc65b5
commit
a03952f095
@ -888,7 +888,7 @@ static unsigned int check_delta_limit(git_pobject *me, unsigned int n)
|
||||
static unsigned long free_unpacked(struct unpacked *n)
|
||||
{
|
||||
unsigned long freed_mem = 0;
|
||||
|
||||
|
||||
if (n->index) {
|
||||
freed_mem += git_delta_index_size(n->index);
|
||||
git_delta_index_free(n->index);
|
||||
|
@ -25,7 +25,7 @@ static void patch_diff_free(git_patch *p)
|
||||
{
|
||||
git_patch_diff *patch = (git_patch_diff *)p;
|
||||
|
||||
git_array_clear(patch->base.lines);
|
||||
git_array_clear(patch->base.lines);
|
||||
git_array_clear(patch->base.hunks);
|
||||
|
||||
git__free((char *)patch->base.binary.old_file.data);
|
||||
|
Loading…
Reference in New Issue
Block a user