summaryrefslogtreecommitdiff
path: root/include/linux/fpga/fpga-mgr.h
diff options
context:
space:
mode:
authorRiccardo Schirone <sirmy15@gmail.com>2018-01-11 22:28:13 +0300
committerTheodore Ts'o <tytso@mit.edu>2018-01-11 22:28:13 +0300
commit95c4df029374d8c09ad36c961e7a14a1d3ac6a6f (patch)
treef5a9cd8c23ea7328a5babedd0cab8763074305a2 /include/linux/fpga/fpga-mgr.h
parenta794df0ecdd557961a0302062f5a7a5f500a8542 (diff)
downloadlinux-95c4df029374d8c09ad36c961e7a14a1d3ac6a6f.tar.xz
ext4: release kobject/kset even when init/register fail
Even when kobject_init_and_add/kset_register fail, the kobject has been already initialized and the refcount set to 1. Thus it is necessary to release the kobject/kset, to avoid the memory associated with it hanging around forever. Signed-off-by: Riccardo Schirone <sirmy15@gmail.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'include/linux/fpga/fpga-mgr.h')
0 files changed, 0 insertions, 0 deletions