diff options
author | Marc Kleine-Budde <mkl@pengutronix.de> | 2010-10-21 05:07:58 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-10-26 17:48:58 (GMT) |
commit | 9a27586d3d5c3157260b055d057c6f4f6654c72c (patch) | |
tree | 27ac8230bde3a11881795acedc7b4c44671a8fbe /lib | |
parent | 06d6e6d2e4ef61172f342fddeea5cfa465d81578 (diff) | |
download | linux-fsl-qoriq-9a27586d3d5c3157260b055d057c6f4f6654c72c.tar.xz |
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 'lib')
0 files changed, 0 insertions, 0 deletions