Messages in this thread | | | Subject | Re: [PATCH] scsi, block: fix memory leak of sdpk on when gd fails to allocate | From | "Martin K. Petersen" <> | Date | Wed, 22 Feb 2017 19:19:02 -0500 |
| |
>>>>> "Colin" == Colin King <colin.king@canonical.com> writes:
Colin> On an allocation failure of gd, the current exit path is via Colin> out_free_devt which leaves sdpk still allocated and hence it gets Colin> leaked. Fix this by correcting the order of resource free'ing Colin> with a change in the error exit path labels.
Applied to 4.11/scsi-fixes.
-- Martin K. Petersen Oracle Linux Engineering
| |