aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_timer.c
diff options
context:
space:
mode:
authorPan Bian <[email protected]>2019-04-18 10:27:18 +0800
committerTony Luck <[email protected]>2019-06-20 11:44:36 -0700
commit585fb3d93d32dbe89e718b85009f9c322cc554cd (patch)
treef4278f2b4d7f7d872f6d1babb0ea50c3e04c9ffc /net/lapb/lapb_timer.c
parent9e0babf2c06c73cda2c0cd37a1653d823adb40ec (diff)
EDAC/sysfs: Fix memory leak when creating a csrow object
In edac_create_csrow_object(), the reference to the object is not released when adding the device to the device hierarchy fails (device_add()). This may result in a memory leak. Signed-off-by: Pan Bian <[email protected]> Signed-off-by: Borislav Petkov <[email protected]> Reviewed-by: Greg Kroah-Hartman <[email protected]> Cc: James Morse <[email protected]> Cc: Mauro Carvalho Chehab <[email protected]> Cc: linux-edac <[email protected]> Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions