| Date | Wed, 05 Jun 2013 12:40:15 +0200 | From | Jerome Marchand <> | Subject | Re: [PATCH v2 04/10] zram: destroy all devices on error recovery path in zram_init() |
| |
On 06/04/2013 06:06 PM, Jiang Liu wrote: > On error recovery path of zram_init(), it leaks the zram device object > causing the failure. So change create_device() to free allocated > resources on error path. > > Signed-off-by: Jiang Liu <jiang.liu@huawei.com> > Cc: stable@vger.kernel.org
Acked-by: Jerome Marchand <jmarchan@redhat.com>
|