| commit | ffdde5932042600c6807d46c1550b28b0db6a3bc | [log] [tgz] |
|---|---|---|
| author | Navid Emamdoost <[email protected]> | Fri Oct 04 14:29:16 2019 -0500 |
| committer | Herbert Xu <[email protected]> | Thu Oct 10 23:42:45 2019 +1100 |
| tree | f9e56b0a2489dcbc774a218e9c6c8eae17dcff74 | |
| parent | 64e7f852c47ce99f6c324c46d6a299a5a7ebead9 [diff] |
crypto: user - fix memory leak in crypto_report
In crypto_report, a new skb is created via nlmsg_new(). This skb should
be released if crypto_report_alg() fails.
Fixes: a38f7907b926 ("crypto: Add userspace configuration API")
Cc: <[email protected]>
Signed-off-by: Navid Emamdoost <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>