]> git.karo-electronics.de Git - mv-sheeva.git/commit
[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)
commitdae1df42f544ce3969d437dfa835169210593240
tree2c396c7ff74c6855261e6aaefce8e5e2fd89324a
parentcd10502b8276b0486850685383243cbd26d50c8d
[S390] s390/char/vmur.c: fix memory leak

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>
drivers/s390/char/vmur.c