Add branch --set-upstream
[gitweb.git] / attr.c
diff --git a/attr.c b/attr.c
index f8f6faa94fd7eb4e260a75b82ef372e632f5eb9a..55bdb7cdebea7f7ea551231fe7801f272d128d69 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.
         */