diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2014-06-11 12:16:51 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-06-12 02:39:19 +0400 |
commit | 2f87208efb5d06003d8f49af06e4501e768c8627 (patch) | |
tree | d6ec328a70edc427562beebf6714ee3c171d5f20 /include | |
parent | 8fc908c3c3a362df1bf9b8f999d30e2c4258d3fc (diff) | |
download | linux-2f87208efb5d06003d8f49af06e4501e768c8627.tar.xz |
drivers: net: davinci_cpdma: double free on error
We recently change the kzalloc() to devm_kzalloc() so freeing "ctlr"
here could lead to a double free.
Fixes: e194312854ed ('drivers: net: davinci_cpdma: Convert kzalloc() to devm_kzalloc().')
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions