Re: [PATCH] hid: hidraw_connect memleak fix

From: Jiri Kosina
Date: Thu Sep 27 2007 - 05:40:41 EST

On Thu, 27 Sep 2007, Mariusz Kozlowski wrote:

> It looks like hidraw_connect() is leaking memory in case of failure.
> Also it should return -ENOMEM when kzalloc fails.


good catch, will apply to me tree.


Jiri Kosina
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at