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.

Mariusz,

good catch, will apply to me tree.

Thanks,

--
Jiri Kosina
SUSE Labs
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/