We should free allocated session in odp_crypto_session_create() error
paths, so that the session is not leaked.
Signed-off-by: Dmitry Eremin-Solenikov dmitry.ereminsoleni...@linaro.org

----------------github------------------------
/** Email created from pull request 25 (lumag:crypto-fix-create)
 ** https://github.com/Linaro/odp/pull/25
 ** Patch: https://github.com/Linaro/odp/pull/25.patch
 ** Base sha: 79ba737a404d2833ad33d8f84ed6ce82c9a8c18e
 ** Merge commit sha: 428c9ea1c0e80039547f12fa2a36bccd4c29be19
 **/
----------------/github------------------------

----------------checkpatch.pl------------------------
total: 0 errors, 0 warnings, 0 checks, 21 lines checked


to_send-p-000.patch has no obvious style problems and is ready for submission.
----------------/checkpatch.pl------------------------

Reply via email to