HomeFreeBSD

loader: fix memory handling errors in module.c

Description

loader: fix memory handling errors in module.c

file_loadraw():
check for file_alloc() and strdup() results.
we leak 'name'.

mod_load() does leak 'filename'.

mod_loadkld() does not need to check fp, file_discard() does check.

Details

Provenance
tsoomeAuthored on
Parents
rS347552: fusefs: remove the vfs.fusefs.data_cache_invalidate sysctl
Branches
Unknown
Tags
Unknown