[PATCH v2 0/2] sparc: fix possible memory leak in scan_one_device()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This patchset fixes two possible memory leaks if of_device_register()
returns error.

v1 -> v2:
  add fix tag.

Yang Yingliang (2):
  sparc/of: fix possible memory leak in scan_one_device()
  sparc64/of: fix possible memory leak in scan_one_device()

 arch/sparc/kernel/of_device_32.c | 8 +++++++-
 arch/sparc/kernel/of_device_64.c | 8 +++++++-
 2 files changed, 14 insertions(+), 2 deletions(-)

-- 
2.25.1




[Index of Archives]     [Kernel Development]     [DCCP]     [Linux ARM Development]     [Linux]     [Photo]     [Yosemite Help]     [Linux ARM Kernel]     [Linux SCSI]     [Linux x86_64]     [Linux Hams]

  Powered by Linux