Skip to content

Commit

Permalink
free
Browse files Browse the repository at this point in the history
  • Loading branch information
littlewhitecloud authored Dec 9, 2023
1 parent 8a056d9 commit dbbea31
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/output.c
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,9 @@ static void write_gitinore(const char *p)
return;
FILE *gitinore = fopen(filename, "w");
fprintf(gitinore, "*");

fclose(gitinore);
free(filename);
}

static char *get_path_to_file_in_jou_compiled(const char *filename)
Expand Down

0 comments on commit dbbea31

Please sign in to comment.