diff options
author | Lars Hjemli <hjemli@gmail.com> | 2006-12-16 22:58:20 (JST) |
---|---|---|
committer | Lars Hjemli <hjemli@gmail.com> | 2006-12-16 22:58:20 (JST) |
commit | aaa24bdd30303128bded8487cd9f63b54c3b8dcd (patch) | |
tree | 0fd8b32643c205d819f98a827eca3e78fad21bfa /ui-log.c | |
parent | fa82b03e05366e3c6ca1b74c8c83d6e00e0ef1e6 (diff) | |
download | cgit-aaa24bdd30303128bded8487cd9f63b54c3b8dcd.zip cgit-aaa24bdd30303128bded8487cd9f63b54c3b8dcd.tar.gz |
Add cgit_free_commitinfo() and use where needed
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Diffstat (limited to 'ui-log.c')
-rw-r--r-- | ui-log.c | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -28,10 +28,7 @@ void print_commit(struct commit *commit) | |||
28 | html("</td><td>"); | 28 | html("</td><td>"); |
29 | html_txt(info->author); | 29 | html_txt(info->author); |
30 | html("</td></tr>\n"); | 30 | html("</td></tr>\n"); |
31 | free(info->author); | 31 | cgit_free_commitinfo(info); |
32 | free(info->committer); | ||
33 | free(info->subject); | ||
34 | free(info); | ||
35 | } | 32 | } |
36 | 33 | ||
37 | 34 | ||