Messages in this thread | | | Date | Fri, 14 Jun 2019 09:54:33 +0200 | From | Jessica Yu <> | Subject | Re: [PATCH v4] kernel/module: Fix mem leak in module_add_modinfo_attrs |
| |
+++ YueHaibing [11/06/19 23:00 +0800]: >In module_add_modinfo_attrs if sysfs_create_file >fails, we forget to free allocated modinfo_attrs >and roll back the sysfs files. > >Fixes: 03e88ae1b13d ("[PATCH] fix module sysfs files reference counting") >Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Applied, thanks.
Jessica
| |