Re: [PATCH] regulator: Fix memory leak in set_machine_constraints()error paths

From: Mark Brown
Date: Thu Jul 14 2011 - 22:43:54 EST


On Fri, Jul 15, 2011 at 08:44:53AM +0800, Axel Lin wrote:

> I think it does checking null pointer for rdev->constraints in current
> implementation:

So, then does this perhaps open paths where ret might be used
uninitialized? In general this seems like an unrelated stylistic change
which is unfortunately hard to review from a context diff alone.
--
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/