On Fri, May 31, 2024 at 02:49:33PM +0900, Sergey Senozhatsky wrote: > On (24/05/20 19:04), Herbert Xu wrote: > [..] > > + > > + params->dict = kvmemdup(dict, len, GFP_KERNEL); > > + if (!params->dict) > > + return -ENOMEM; > > + params->dict_sz = len; > > + > > + return 0; > > +} > > +EXPORT_SYMBOL_GPL(crypto_comp_getparams); > > + > > +void crypto_comp_putparams(struct crypto_comp_params *params) > > +{ > > + kfree(params->dict); > > kvfree()? Thanks. I'll fix this in the next update. -- Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt