Re: [PATCH 10/59] Staging: hv: util: Make hv_utils a vmbus devicedriver

From: Dan Carpenter
Date: Tue Aug 30 2011 - 11:55:51 EST


On Thu, Aug 25, 2011 at 09:48:36AM -0700, K. Y. Srinivasan wrote:
> + util_drv.driver.name = driver_name;
> +
> + return vmbus_child_driver_register(&util_drv.driver);

We should free the allocations if vmbus_child_driver_register() fails.

regards,
dan carpenter

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/