On Fri, Jun 12, 2015 at 4:22 AM, Adrian Hunter <[email protected]> wrote:
> On 12/06/15 07:39, Fabio Estevam wrote:
>> From: Fabio Estevam <[email protected]>
>>
>> If mmc_gpio_alloc() fails we miss to call 'kfree(host)', so rearrange
>> the error path to fix it.
>
> Are you sure it doesn't get freed through put_device()?

Yes, you are right. Sorry for the noise.

Thanks
--
To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to