[S390] s390/char/vmur.c: fix memory leak
authorDennis Chen <dennis1.chen@amd.com>
Wed, 11 Apr 2012 12:28:05 +0000 (14:28 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Wed, 11 Apr 2012 12:28:24 +0000 (14:28 +0200)
This patch is used to fix a memory leak issue in s390/char/vmur.c.
A character device instance is allocated by cdev_alloc, the cdev_del
will not free that space if cdev_init is applied before.

Signed-off-by: Dennis Chen <dennis1.chen@amd.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>

No differences found