mirror of
https://github.com/AuxXxilium/kmod.git
synced 2024-11-24 07:20:52 +07:00
kmod-depmod: Fix leak of dependency vector
This commit is contained in:
parent
a627c3f31a
commit
ea1b8c3702
@ -2344,6 +2344,7 @@ static int output_deps_bin(struct depmod *depmod, FILE *out)
|
||||
if (duplicate && depmod->cfg->warn_dups)
|
||||
WRN("duplicate module deps:\n%s\n", line);
|
||||
free(line);
|
||||
free(deps);
|
||||
}
|
||||
|
||||
index_write(idx, out);
|
||||
|
Loading…
Reference in New Issue
Block a user