]> git.ipfire.org Git - thirdparty/git.git/blobdiff - sha1-file.c
gitweb: correctly store previous rev in javascript-actions mode
[thirdparty/git.git] / sha1-file.c
index 84fd02f107602411f3ceb460e4fe5b41c212bdec..487ea35d2d398434d2a907188d8f7ede17721fe3 100644 (file)
@@ -799,6 +799,7 @@ static void read_alternate_refs(const char *path,
 
        fclose(fh);
        finish_command(&cmd);
+       strbuf_release(&line);
 }
 
 struct alternate_refs_data {