Re: [PATCH] staging: comedi: Return error if memory allocation fails

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

 



On Mon, Apr 27, 2015 at 12:44:51PM +0000, Gujulan Elango, Hari Prasath (H.) wrote:
> Should return ENOMEM if memory allocation occurs.There is a wrong code
> jump here and this patch addresses this issue.
> 

What?  No, the original code is fine and this patch introduces a memory
leak.

regards,
dan carpenter

_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel




[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux