summaryrefslogtreecommitdiff
path: root/include/linux/debugobjects.h
diff options
context:
space:
mode:
authorQiushi Wu <wu000273@umn.edu>2020-05-28 15:13:53 -0500
committerSasha Levin <sashal@kernel.org>2020-06-29 20:07:53 -0400
commitd9aa44efed5e656f543e6af54f215eadeb33f054 (patch)
tree1615ee2af16db1bf7bc963e8aaf3eda9b9f2941a /include/linux/debugobjects.h
parent536fd514b3be22ee6f2261a3905169046aa86794 (diff)
scsi: iscsi: Fix reference count leak in iscsi_boot_create_kobj
[ Upstream commit 0267ffce562c8bbf9b57ebe0e38445ad04972890 ] kobject_init_and_add() takes reference even when it fails. If this function returns an error, kobject_put() must be called to properly clean up the memory associated with the object. Link: https://lore.kernel.org/r/20200528201353.14849-1-wu000273@umn.edu Reviewed-by: Lee Duncan <lduncan@suse.com> Signed-off-by: Qiushi Wu <wu000273@umn.edu> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions