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

Dan Carpenter
2011-08-30T15:55:47Z

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