Re: [PATCH] usb: serial: mos7840: Avoid kfree() on bad pointer

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

 



Hello.

On 07/24/2012 11:17 PM, Mark Ferrell wrote:

> * mos7840_startup() blindly calls kfree() on memory that may have never been
>   allocated.

   Callling kfree() on NULL pointers is valid.

> Signed-off-by: Mark Ferrell <mferrell@xxxxxxxxxxx>

WBR, Sergei

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


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux