aboutsummaryrefslogtreecommitdiff
path: root/attr.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2012-01-11 19:11:00 -0800
committerJunio C Hamano <gitster@pobox.com>2012-01-11 19:11:00 -0800
commitafb6b561e3dad13df5d9df9731751a3d310c0854 (patch)
tree9c79be5a0cab9f0ee7994334c66e2e2290348a60 /attr.c
parent804e97fc77b3398db5461fdd79f2f96f6acf467d (diff)
parent37475f97d1fbab0842c17b175263eeba6cd5e318 (diff)
downloadgit-afb6b561e3dad13df5d9df9731751a3d310c0854.tar.gz
git-afb6b561e3dad13df5d9df9731751a3d310c0854.tar.xz
Merge branch 'maint-1.7.6' into maint-1.7.7
* maint-1.7.6: attr: fix leak in free_attr_elem t2203: fix wrong commit command
Diffstat (limited to 'attr.c')
-rw-r--r--attr.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/attr.c b/attr.c
index 96eda0ef0..303751f6c 100644
--- a/attr.c
+++ b/attr.c
@@ -301,6 +301,7 @@ static void free_attr_elem(struct attr_stack *e)
}
free(a);
}
+ free(e->attrs);
free(e);
}