summaryrefslogtreecommitdiffstats
path: root/crypto/ecc.h
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2017-03-14 08:56:30 +0100
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>2017-03-16 23:00:07 +0100
commit65e9e65cebbea755db638875a44b227a1027570e (patch)
tree64dc05fb503498939f9709c97361385d4d724175 /crypto/ecc.h
parentrtc: wm8350: Remove unused to_wm8350_from_rtc_dev (diff)
downloadlinux-65e9e65cebbea755db638875a44b227a1027570e.tar.xz
linux-65e9e65cebbea755db638875a44b227a1027570e.zip
rtc: cpcap: kfreeing devm allocated memory
We shouldn't kfree(rtc) because is devm_ managed memory. It leads to a double free. Fixes: dd3bf50b35e3 ("rtc: cpcap: new rtc driver") Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Acked-By: Sebastian Reichel <sre@kernel.org> Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Diffstat (limited to 'crypto/ecc.h')
0 files changed, 0 insertions, 0 deletions