Commit 7cd42a1a10a92fffd30370ad7e83a7d1610cf04c

Stefan Sperling 2018-06-11T02:17:16

free timezone offset strings in got_object_commit_close()

1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff --git a/lib/object.c b/lib/object.c
index 1874fc8..53e8e23 100644
--- a/lib/object.c
+++ b/lib/object.c
@@ -928,7 +928,9 @@ got_object_commit_close(struct got_commit_object *commit)
 
 	free(commit->tree_id);
 	free(commit->author);
+	free(commit->author_tzoff);
 	free(commit->committer);
+	free(commit->committer_tzoff);
 	free(commit->logmsg);
 	free(commit);
 }