Adjust some structs

This commit is contained in:
2023-02-27 20:44:25 -05:00
parent 9c40dddd41
commit 8c662bb8f8
4 changed files with 3 additions and 10 deletions

View File

@@ -9,7 +9,7 @@
__always_inline
parse_job_t *create_fs_parse_job(const char *filepath, const struct stat *info, int base) {
int len = (int) strlen(filepath);
parse_job_t *job = malloc(sizeof(parse_job_t) + len);
parse_job_t *job = malloc(sizeof(parse_job_t));
strcpy(job->filepath, filepath);
job->base = base;