Re: [PATCH] s390/dasd: Fix potential memleak in dasd_eckd_init()

From: Stefan Haberland
Date: Thu Dec 08 2022 - 10:45:50 EST


Am 08.12.22 um 14:38 schrieb Qiheng Lin:
`dasd_reserve_req` is allocated before `dasd_vol_info_req`, and it
also needs to be freed before the error returns, just like the other
cases in this function.

Fixes: 9e12e54c7a8f ("s390/dasd: Handle out-of-space constraint")
Signed-off-by: Qiheng Lin <linqiheng@xxxxxxxxxx>
---


Thanks, applied.