Re: [PATCH v4 7/8] zram: use crypto contextless compression API to (de)compress

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On (10/15/15 10:07), Joonsoo Kim wrote:
[..]
> > >  	if (error) {
> > > +		crypto_free_ccomp(comp->tfm);
> > >  		kfree(comp);
> > 
> > hm... zcomp_destroy(comp) ?
> 
> It's not possible to use zcomp_destroy() here. It tries to access
> field of comp->stream which could be NULL.

ah, yep. my bad.

	-ss
--
To unsubscribe from this list: send the line "unsubscribe linux-crypto" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Kernel]     [Gnu Classpath]     [Gnu Crypto]     [DM Crypt]     [Netfilter]     [Bugtraq]

  Powered by Linux