提交 0241ea8c 编写于 作者: M Masahiro Yamada

modpost: free ns_deps_buf.p after writing ns_deps files

buf_write() allocates memory. Free it.
Signed-off-by: NMasahiro Yamada <yamada.masahiro@socionext.com>
上级 bff9c62b
......@@ -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 {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册