diff options
-rw-r--r-- | ui-blob.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -99,6 +99,7 @@ int cgit_print_file(char *path, const char *head, int file_only) return -1; buf[size] = '\0'; html_raw(buf, size); + free(buf); return 0; } |
index : cgit | ||
A hyperfast web frontend for git repositories written in C |
aboutsummaryrefslogtreecommitdiffstats |
-rw-r--r-- | ui-blob.c | 1 |
@@ -99,6 +99,7 @@ int cgit_print_file(char *path, const char *head, int file_only) return -1; buf[size] = '\0'; html_raw(buf, size); + free(buf); return 0; } |