diff options
author | Gustavo A. R. Silva <gustavo@embeddedor.com> | 2018-07-10 17:22:52 +0300 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2018-07-20 08:51:21 +0300 |
commit | 3fd8093b41e745448ffeb0a0d3becc2cd1f9d7ad (patch) | |
tree | 5ba2cdea55b27cb0fd47277de8c8f1cd7f9d465b /ipc | |
parent | d6be72ee2c77469d4fb391ccccc2ebc1b167a242 (diff) | |
download | linux-3fd8093b41e745448ffeb0a0d3becc2cd1f9d7ad.tar.xz |
crypto: dh - fix memory leak
In case memory resources for *base* were allocated, release them
before return.
Addresses-Coverity-ID: 1471702 ("Resource leak")
Fixes: e3fe0ae12962 ("crypto: dh - add public key verification test")
Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Reviewed-by: Stephan Müller <smueller@chronox.de>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions