Merge 'staging-next' to Linus's tree
[linux-2.6.git] / drivers / staging / zram / zram_drv.c
index 72f1b9c..8c3c057 100644 (file)
@@ -706,6 +706,7 @@ static int __init zram_init(void)
 free_devices:
        while (dev_id)
                destroy_device(&devices[--dev_id]);
+       kfree(devices);
 unregister:
        unregister_blkdev(zram_major, "zram");
 out: