about summary refs log tree commit diff
path: root/cgit.h
diff options
context:
space:
mode:
authorLars Hjemli <hjemli@gmail.com>2006-12-16 14:58:20 +0100
committerLars Hjemli <hjemli@gmail.com>2006-12-16 14:58:20 +0100
commitaaa24bdd30303128bded8487cd9f63b54c3b8dcd (patch)
tree0fd8b32643c205d819f98a827eca3e78fad21bfa /cgit.h
parentSimplify ui-commit.c (diff)
downloadcgit-pink-aaa24bdd30303128bded8487cd9f63b54c3b8dcd.tar.gz
cgit-pink-aaa24bdd30303128bded8487cd9f63b54c3b8dcd.zip
Add cgit_free_commitinfo() and use where needed
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Diffstat (limited to '')
-rw-r--r--cgit.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/cgit.h b/cgit.h
index f06a941..02cc26a 100644
--- a/cgit.h
+++ b/cgit.h
@@ -65,6 +65,8 @@ extern void cgit_global_config_cb(const char *name, const char *value);
 extern void cgit_repo_config_cb(const char *name, const char *value);
 extern void cgit_querystring_cb(const char *name, const char *value);
 
+extern void *cgit_free_commitinfo(struct commitinfo *info);
+
 extern char *fmt(const char *format,...);
 
 extern void html(const char *txt);