about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2013-05-28 09:31:45 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2013-05-28 09:31:45 +0200
commit7fb12a8ee0789e3eab2680ae6c3fde0f0f233d22 (patch)
tree8d473bd4b320bc4f75ef4fad89a14c7ee2072484
parentfilters: toggle perl utf8 situation (diff)
downloadcgit-pink-7fb12a8ee0789e3eab2680ae6c3fde0f0f233d22.tar.gz
cgit-pink-7fb12a8ee0789e3eab2680ae6c3fde0f0f233d22.zip
ui-summary: do not free ref
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
-rw-r--r--ui-summary.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/ui-summary.c b/ui-summary.c
index d8500d6..5598d08 100644
--- a/ui-summary.c
+++ b/ui-summary.c
@@ -163,7 +163,6 @@ void cgit_print_repo_readme(char *path)
 	if (ctx.repo->about_filter) {
 		cgit_close_filter(ctx.repo->about_filter);
 		ctx.repo->about_filter->argv[1] = NULL;
-	free(ref);
 	}
 	html("</div>");
 	if (free_filename)