Wei Yongjun 9ac74f0666 s390/ap: fix memory leak in ap_init_qci_info()
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/20221114110830.542246-1-weiyongjun@huaweicloud.com
Fixes: 283915850a44 ("s390/ap: notify drivers on config changed and scan complete callbacks")
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: Harald Freudenberger <freude@linux.ibm.com>
Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
2022-11-23 16:26:21 +01:00
..
2022-10-12 14:46:48 -07:00
2022-04-25 13:54:14 +02:00
2022-04-25 13:54:14 +02:00
2022-04-25 13:54:14 +02:00
2022-04-25 13:54:14 +02:00
2022-04-25 13:54:14 +02:00
2022-04-25 13:54:14 +02:00
2022-04-25 13:54:14 +02:00
2022-04-25 13:54:14 +02:00
2022-04-25 13:54:14 +02:00
2022-04-25 13:54:14 +02:00
2022-04-25 13:54:14 +02:00
2022-04-25 13:54:14 +02:00
2022-04-25 13:54:14 +02:00
2022-04-25 13:54:14 +02:00