diff options
author | Colin Ian King <[email protected]> | 2017-02-17 15:57:43 +0000 |
---|---|---|
committer | Herbert Xu <[email protected]> | 2017-02-27 18:09:38 +0800 |
commit | d80388eca1b476125755a811676f76f138bbbe28 (patch) | |
tree | 1e03bc2b83c18ea6a943ad9861194b1c76db469d /lib/memory-notifier-error-inject.c | |
parent | 9bd829041b704e5e501ad5f5a9374a63426763fd (diff) |
crypto: cavium - fix leak on curr if curr->head fails to be allocated
The exit path when curr->head cannot be allocated fails to kfree the
earlier allocated curr. Fix this by kfree'ing it.
Signed-off-by: Colin Ian King <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions