Re: [PATCH 1/2] HID: kfree() NULL pointer cleanup

From: bojan prtvar
Date: Thu Aug 04 2011 - 17:16:59 EST


On Thu, Aug 4, 2011 at 10:48 PM, Julia Lawall <julia@xxxxxxx> wrote:
> On Thu, 4 Aug 2011, Bojan Prtvar wrote:
>
> I would find it even nicer to just add a new lavel to skip over the kfree
> in the case where pm is NULL. ÂIt is statically apparent in the source
> code.

Yes, it would be nicer. I'll send v2.

Regards,
Bojan
--
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/