On Fri, Jun 12, 2015 at 4:22 AM, Adrian Hunter <adrian.hunter@xxxxxxxxx> wrote: > On 12/06/15 07:39, Fabio Estevam wrote: >> From: Fabio Estevam <fabio.estevam@xxxxxxxxxxxxx> >> >> 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 majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html