Commit 88759617e99fdc717ac8565656abb91c0e029bf8

Tracey Emery 2020-02-13T22:25:33

remove free(refs_str) that was reintroduced with rebase

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/gotweb/gotweb.c b/gotweb/gotweb.c
index 4db052d..a5afae0 100644
--- a/gotweb/gotweb.c
+++ b/gotweb/gotweb.c
@@ -3108,8 +3108,6 @@ gw_get_commit(struct gw_trans *gw_trans, struct gw_header *header)
 		free(s);
 	}
 
-	free(refs_str);
-
 	error = got_object_id_str(&header->commit_id, header->id);
 	if (error)
 		return error;