diff options
author | Wei Yongjun <weiyongjun1@huawei.com> | 2020-08-04 11:11:53 +0300 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2020-08-21 07:43:51 +0300 |
commit | 11a954eebc4396b51af745e5242df05f71be6d9e (patch) | |
tree | 0df2ddb2575847f33fd4c7aedda864b0e7ee1d1e /net/unix/af_unix.c | |
parent | 9a5a668dc348f98de464114411421c4e9381cf21 (diff) | |
download | linux-11a954eebc4396b51af745e5242df05f71be6d9e.tar.xz |
crypto: ingenic - Drop kfree for memory allocated with devm_kzalloc
It's not necessary to free memory allocated with devm_kzalloc
and using kfree leads to a double free.
Fixes: 190873a0ea45 ("crypto: ingenic - Add hardware RNG for Ingenic JZ4780 and X1000")
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Reviewed-by: 周琰杰 (Zhou Yanjie) <zhouyanjie@wanyeetech.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions