On Mon, Jan 11, 2016 at 05:45:50PM +0200, Cristian Stoica wrote:
> This patch fixes clean-up on error path for failed allocations of
> ses_new->pages or ses_new->sg. In these cases, allocations made in
> cryptodev_hash_init have not been undone resulting in possible memory
> leaks.
> 
> We take advantage of the initializations with zeros of the session
> structure to trim the code to a single clean-up path.
> 
> Signed-off-by: Cristian Stoica <cristian.sto...@nxp.com>

Applied, thanks!

_______________________________________________
Cryptodev-linux-devel mailing list
Cryptodev-linux-devel@gna.org
https://mail.gna.org/listinfo/cryptodev-linux-devel

Reply via email to