Minor improvement to the write-tree documentation
[git] / attr.c
diff --git a/attr.c b/attr.c
index f8f6faa..55bdb7c 100644 (file)
--- 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.
         */