mirror of
https://github.com/torvalds/linux.git
synced 2024-11-21 19:41:42 +00:00
modpost: free ns_deps_buf.p after writing ns_deps files
buf_write() allocates memory. Free it. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
This commit is contained in:
parent
bff9c62b5d
commit
0241ea8cae
@ -2549,6 +2549,8 @@ static void write_namespace_deps_files(void)
|
||||
sprintf(fname, "%s.ns_deps", mod->name);
|
||||
write_if_changed(&ns_deps_buf, fname);
|
||||
}
|
||||
|
||||
free(ns_deps_buf.p);
|
||||
}
|
||||
|
||||
struct ext_sym_list {
|
||||
|
Loading…
Reference in New Issue
Block a user