diff options
author | Junio C Hamano <gitster@pobox.com> | 2012-01-11 19:11:00 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2012-01-11 19:11:00 -0800 |
commit | afb6b561e3dad13df5d9df9731751a3d310c0854 (patch) | |
tree | 9c79be5a0cab9f0ee7994334c66e2e2290348a60 | |
parent | 804e97fc77b3398db5461fdd79f2f96f6acf467d (diff) | |
parent | 37475f97d1fbab0842c17b175263eeba6cd5e318 (diff) | |
download | git-afb6b561e3dad13df5d9df9731751a3d310c0854.tar.gz |
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
-rw-r--r-- | attr.c | 1 | ||||
-rwxr-xr-x | t/t2203-add-intent.sh | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -301,6 +301,7 @@ static void free_attr_elem(struct attr_stack *e) } free(a); } + free(e->attrs); free(e); } diff --git a/t/t2203-add-intent.sh b/t/t2203-add-intent.sh index 58a329961e..25435290a7 100755 --- a/t/t2203-add-intent.sh +++ b/t/t2203-add-intent.sh @@ -41,7 +41,7 @@ test_expect_success 'cannot commit with i-t-a entry' ' echo frotz >nitfol && git add rezrov && git add -N nitfol && - test_must_fail git commit + test_must_fail git commit -m initial ' test_expect_success 'can commit with an unrelated i-t-a entry in index' ' |