aboutsummaryrefslogtreecommitdiffstats
path: root/shared.c
diff options
context:
space:
mode:
Diffstat (limited to 'shared.c')
-rw-r--r--shared.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/shared.c b/shared.c
index a48eea6..3ada875 100644
--- a/shared.c
+++ b/shared.c
@@ -95,7 +95,7 @@ struct cgit_repo *cgit_get_repoinfo(const char *url)
95 return NULL; 95 return NULL;
96} 96}
97 97
98void *cgit_free_commitinfo(struct commitinfo *info) 98void cgit_free_commitinfo(struct commitinfo *info)
99{ 99{
100 free(info->author); 100 free(info->author);
101 free(info->author_email); 101 free(info->author_email);
@@ -105,7 +105,6 @@ void *cgit_free_commitinfo(struct commitinfo *info)
105 free(info->msg); 105 free(info->msg);
106 free(info->msg_encoding); 106 free(info->msg_encoding);
107 free(info); 107 free(info);
108 return NULL;
109} 108}
110 109
111char *trim_end(const char *str, char c) 110char *trim_end(const char *str, char c)