Re: [PATCH 2/4] hwmon: (adm1275) Free allocated memory if probe function fails

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Jul 03, 2011 at 03:53:21AM -0400, Jean Delvare wrote:
> On Thu, 30 Jun 2011 10:29:51 -0700, Guenter Roeck wrote:
> > Probe function did not free allocated memory if it failed. Fix it.
> > 
> > Signed-off-by: Guenter Roeck <guenter.roeck@xxxxxxxxxxxx>
> 
> Good catch.
> 
> Acked-by: Jean Delvare <khali@xxxxxxxxxxxx>
> 
Embarassing, actually, since I had that same piece of code in other drivers
and got it right there ;).

Thanks for the review,

Guenter

_______________________________________________
lm-sensors mailing list
lm-sensors@xxxxxxxxxxxxxx
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors


[Index of Archives]     [Linux Kernel]     [Linux Hardware Monitoring]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux