diff options
| Commit | aaa24bdd30303128bded8487cd9f63b54c3b8dcd (patch) | |
|---|---|---|
| Author | 2006-12-16 14:58:20 +0100 | |
| Committer | 2006-12-16 14:58:20 +0100 | |
| Files | 0fd8b32643c205d819f98a827eca3e78fad21bfa /ui-commit.c | |
| cgit-aaa24bdd30303128bded8487cd9f63b54c3b8dcd.tar cgit-aaa24bdd30303128bded8487cd9f63b54c3b8dcd.tar.gz cgit-aaa24bdd30303128bded8487cd9f63b54c3b8dcd.zip | ||
| Parent | fa82b03e05366e3c6ca1b74c8c83d6e00e0ef1e6 (diff) | |
Add cgit_free_commitinfo() and use where needed
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
1 files changed, 1 insertions, 4 deletions
| -rw-r--r-- | ui-commit.c | 5 |
diff --git a/ui-commit.c b/ui-commit.c index b441e14..f654208 100644 --- a/ui-commit.c +++ b/ui-commit.c @@ -61,8 +61,5 @@ void cgit_print_commit(const char *hex) html("<div class='commit-msg'>"); html_txt(info->msg); html("</div>"); - free(info->author); - free(info->committer); - free(info->subject); - free(info); + cgit_free_commitinfo(info); } |
