commit | 5d59ad6eea82ef8df92b4109615a0dde9d8093e9 | [log] [tgz] |
---|---|---|
author | Christian Lamparter <chunkeey@googlemail.com> | Fri Aug 25 15:47:24 2017 +0200 |
committer | Herbert Xu <herbert@gondor.apana.org.au> | Fri Sep 22 17:43:19 2017 +0800 |
tree | 35d685e706c89ab9b8ed5e54d9825fe721cddb0f | |
parent | 40e3b847bff70edc28c5290d209e531da6f9e534 [diff] |
crypto: crypto4xx - fix crypto4xx_build_pdr, crypto4xx_build_sdr leak If one of the later memory allocations in rypto4xx_build_pdr() fails: dev->pdr (and/or) dev->pdr_uinfo wouldn't be freed. crypto4xx_build_sdr() has the same issue with dev->sdr. Signed-off-by: Christian Lamparter <chunkeey@googlemail.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>