[dpdk-dev] [PATCH 2/2] crypto/scheduler: fix memory leak

Zhang, Roy Fan roy.fan.zhang at intel.com
Tue May 8 14:45:24 CEST 2018



> -----Original Message-----
> From: De Lara Guarch, Pablo
> Sent: Thursday, April 26, 2018 4:10 PM
> To: Zhang, Roy Fan <roy.fan.zhang at intel.com>
> Cc: dev at dpdk.org; De Lara Guarch, Pablo <pablo.de.lara.guarch at intel.com>;
> stable at dpdk.org
> Subject: [PATCH 2/2] crypto/scheduler: fix memory leak
> 
> If private context creation fails, the memory allocated for it and for some of
> the rings created was being leaked.
> In case of failure, it must be freed.
> 
> Fixes: 4c07e0552f0a ("crypto/scheduler: add multicore scheduling mode")
> Cc: stable at dpdk.org
> 
> Signed-off-by: Pablo de Lara <pablo.de.lara.guarch at intel.com>
>

Acked-by: Fan Zhang <roy.fan.zhang at intel.com>


More information about the dev mailing list