aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_iface.c
diff options
context:
space:
mode:
authorYueHaibing <[email protected]>2019-06-11 23:00:07 +0800
committerJessica Yu <[email protected]>2019-06-14 09:31:09 +0200
commitbc6f2a757d525e001268c3658bd88822e768f8db (patch)
treef09e5ab8d7614581bff9607a8757cd5f58e753e0 /net/lapb/lapb_iface.c
parent8d1b73dd25ff92c3fa9807a20c22fa2b44c07336 (diff)
kernel/module: Fix mem leak in module_add_modinfo_attrs
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") Reviewed-by: Miroslav Benes <[email protected]> Signed-off-by: YueHaibing <[email protected]> Signed-off-by: Jessica Yu <[email protected]>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions