mirror of
https://github.com/amadvance/snapraid.git
synced 2026-10-26 19:01:57 -04:00
Fixes a memory leak in import.
This commit is contained in:
parent
10db41c732
commit
349cf0cdc8
1 changed files with 2 additions and 0 deletions
2
import.c
2
import.c
|
|
@ -107,6 +107,8 @@ static void import_file(struct snapraid_state* state, const char* path, uint64_t
|
|||
}
|
||||
|
||||
tommy_list_insert_tail(&state->importlist, &file->nodelist, file);
|
||||
|
||||
free(buffer);
|
||||
}
|
||||
|
||||
void import_file_free(struct snapraid_import_file* file)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue