diff options
author | Marc Kleine-Budde <mkl@pengutronix.de> | 2010-10-21 05:07:58 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-10-26 10:48:58 -0700 |
commit | 9a27586d3d5c3157260b055d057c6f4f6654c72c (patch) | |
tree | 27ac8230bde3a11881795acedc7b4c44671a8fbe /drivers/net/can/mcp251x.c | |
parent | 06d6e6d2e4ef61172f342fddeea5cfa465d81578 (diff) | |
download | op-kernel-dev-9a27586d3d5c3157260b055d057c6f4f6654c72c.zip op-kernel-dev-9a27586d3d5c3157260b055d057c6f4f6654c72c.tar.gz |
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>
Diffstat (limited to 'drivers/net/can/mcp251x.c')
0 files changed, 0 insertions, 0 deletions