diff options
Diffstat (limited to 'git.c')
-rw-r--r-- | git.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -272,6 +272,7 @@ static int parse_info_file(pull_request *pr, char *buf, const char *root) { static int parse_comments_file_path(comment ***comments, const char *root) { file *f = create_file(root, "comments"); int ret = parse_comments_file(comments, f->buf); + f->name = NULL; free_file(f); return ret; } @@ -279,6 +280,7 @@ static int parse_comments_file_path(comment ***comments, const char *root) { static int parse_info_file_path(pull_request *pr, const char *root) { file *f = create_file(root, "info"); int ret = parse_info_file(pr, f->buf, root); + f->name = NULL; free_file(f); return ret; } |