Re: [dpdk-dev] [PATCH] crypto/caam_jr: fix memory leak and illegal memory access

2019-04-16 Thread Akhil Goyal
> > > Opendir() returns allocated storage which must be freed at the > > end of function or in case any return on error. so freeing the > > allocation using closedir in an error case. > > > > Coverity issue: 323507 > > Coverity issue: 325880 > > Fixes: e7a45f3cc245 ("crypto/caam_jr: add UIO specif

Re: [dpdk-dev] [PATCH] crypto/caam_jr: fix memory leak and illegal memory access

2019-04-16 Thread Akhil Goyal
> Opendir() returns allocated storage which must be freed at the > end of function or in case any return on error. so freeing the > allocation using closedir in an error case. > > Coverity issue: 323507 > Coverity issue: 325880 > Fixes: e7a45f3cc245 ("crypto/caam_jr: add UIO specific operations")