summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/pack-objects.c2
-rw-r--r--src/patch_diff.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/pack-objects.c b/src/pack-objects.c
index ec15970f3..20a8e47ab 100644
--- a/src/pack-objects.c
+++ b/src/pack-objects.c
@@ -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);
diff --git a/src/patch_diff.c b/src/patch_diff.c
index b8adcf3e1..bae0bd227 100644
--- a/src/patch_diff.c
+++ b/src/patch_diff.c
@@ -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);