Messages in this thread | | | Date | Thu, 15 Oct 2015 10:53:32 +0900 | From | Sergey Senozhatsky <> | Subject | Re: [PATCH v4 7/8] zram: use crypto contextless compression API to (de)compress |
| |
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
| |