commit | 9a27586d3d5c3157260b055d057c6f4f6654c72c | [log] [tgz] |
---|---|---|
author | Marc Kleine-Budde <mkl@pengutronix.de> | Thu Oct 21 05:07:58 2010 +0000 |
committer | David S. Miller <davem@davemloft.net> | Tue Oct 26 10:48:58 2010 -0700 |
tree | 27ac8230bde3a11881795acedc7b4c44671a8fbe | |
parent | 06d6e6d2e4ef61172f342fddeea5cfa465d81578 [diff] |
can: flexcan: fix use after free of priv The priv is part of the memory allocated by alloc_candev(). This patch moved the free it after last usage of priv. Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de> Signed-off-by: David S. Miller <davem@davemloft.net>