kmod-depmod: Fix leak of dependency vector

This commit is contained in:
Lucas De Marchi 2011-12-27 14:18:32 -02:00
parent a627c3f31a
commit ea1b8c3702

View File

@ -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);