about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--cgit.h1
-rw-r--r--shared.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/cgit.h b/cgit.h index 7df0e3a..df42312 100644 --- a/cgit.h +++ b/cgit.h
@@ -344,6 +344,7 @@ extern int cgit_refs_cb(const char *refname, const struct object_id *oid,
344 int flags, void *cb_data); 344 int flags, void *cb_data);
345 345
346extern void cgit_free_commitinfo(struct commitinfo *info); 346extern void cgit_free_commitinfo(struct commitinfo *info);
347extern void cgit_free_taginfo(struct taginfo *info);
347 348
348void cgit_diff_tree_cb(struct diff_queue_struct *q, 349void cgit_diff_tree_cb(struct diff_queue_struct *q,
349 struct diff_options *options, void *data); 350 struct diff_options *options, void *data);
diff --git a/shared.c b/shared.c index 3ada875..571fbba 100644 --- a/shared.c +++ b/shared.c
@@ -203,7 +203,7 @@ static struct refinfo *cgit_mk_refinfo(const char *refname, const struct object_
203 return ref; 203 return ref;
204} 204}
205 205
206static void cgit_free_taginfo(struct taginfo *tag) 206void cgit_free_taginfo(struct taginfo *tag)
207{ 207{
208 if (tag->tagger) 208 if (tag->tagger)
209 free(tag->tagger); 209 free(tag->tagger);