diff options
author | Marc Kleine-Budde <mkl@pengutronix.de> | 2010-10-21 07:07:58 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-10-26 19:48:58 +0200 |
commit | 9a27586d3d5c3157260b055d057c6f4f6654c72c (patch) | |
tree | 27ac8230bde3a11881795acedc7b4c44671a8fbe /drivers/net/pcnet32.c | |
parent | drivers/net: sgiseeq: fix return on error (diff) | |
download | linux-9a27586d3d5c3157260b055d057c6f4f6654c72c.tar.xz linux-9a27586d3d5c3157260b055d057c6f4f6654c72c.zip |
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 '')
0 files changed, 0 insertions, 0 deletions