mirror of
https://github.com/torvalds/linux.git
synced 2026-11-29 01:43:18 +00:00
If kzalloc() for 'ap_qci_info_old' failed, 'ap_qci_info' shold be
freed before return. Otherwise it is a memory leak.
Link: https://lore.kernel.org/r/[email protected]
Fixes: 283915850a ("s390/ap: notify drivers on config changed and scan complete callbacks")
Signed-off-by: Wei Yongjun <[email protected]>
Signed-off-by: Harald Freudenberger <[email protected]>
Signed-off-by: Alexander Gordeev <[email protected]>