summaryrefslogtreecommitdiff
path: root/attr.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2009-06-30 16:12:35 -0700
committerJunio C Hamano <gitster@pobox.com>2009-06-30 16:12:35 -0700
commit725cf7b45da1f983fa1cbb0757b0e8855e5ac2de (patch)
tree7ea146277466418c86f2feb141523e875d18e657 /attr.c
parent6167c136579f17066e985a8bf7d9c020878b9a3e (diff)
parentd4c985653a580e78db94c549bdcd71669067b8a9 (diff)
downloadgit-725cf7b45da1f983fa1cbb0757b0e8855e5ac2de.tar.gz
Merge branch 'maint'
* maint: attr: plug minor memory leak request-pull: really disable pager Makes some cleanup/review in gittutorial Makefile: git.o depends on library headers git-submodule documentation: fix foreach example
Diffstat (limited to 'attr.c')
-rw-r--r--attr.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/attr.c b/attr.c
index f8f6faa94f..55bdb7cdeb 100644
--- a/attr.c
+++ b/attr.c
@@ -555,6 +555,8 @@ static void prepare_attr_stack(const char *path, int dirlen)
}
}
+ strbuf_release(&pathbuf);
+
/*
* Finally push the "info" one at the top of the stack.
*/