s390/3215: free memory in error path
authorChristophe Jaillet <christophe.jaillet@wanadoo.fr>
Mon, 20 Apr 2015 08:26:52 +0000 (10:26 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Thu, 23 Apr 2015 14:55:50 +0000 (16:55 +0200)
commit0a7c501e6759db49d9dffb10ed62142d705e3f90
tree49d3ba8ff316317ed7ba07d9d06f6950c136d0f8
parent0b46e0a3ec0d7a04af6a091354f1b5e1b952d70a
s390/3215: free memory in error path

If one memory allocation fails, there is a memory leak.

Signed-off-by: Christophe Jaillet <christophe.jaillet@wanadoo.fr>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
drivers/s390/char/con3215.c