Re: [PATCH] s390: char: con3215: Free memory in error path

2015-04-20 Thread Martin Schwidefsky
On Sun, 19 Apr 2015 15:17:36 +0200 Christophe Jaillet wrote: > If one memory allocation fails, there is a memory leak. > > Signed-off-by: Christophe Jaillet > --- > drivers/s390/char/con3215.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/drivers/s390/char/con3215.c

Re: [PATCH] s390: char: con3215: Free memory in error path

2015-04-20 Thread Martin Schwidefsky
On Sun, 19 Apr 2015 15:17:36 +0200 Christophe Jaillet christophe.jail...@wanadoo.fr wrote: If one memory allocation fails, there is a memory leak. Signed-off-by: Christophe Jaillet christophe.jail...@wanadoo.fr --- drivers/s390/char/con3215.c | 2 ++ 1 file changed, 2 insertions(+)

[PATCH] s390: char: con3215: Free memory in error path

2015-04-19 Thread Christophe Jaillet
If one memory allocation fails, there is a memory leak. Signed-off-by: Christophe Jaillet --- drivers/s390/char/con3215.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/s390/char/con3215.c b/drivers/s390/char/con3215.c index c43aca6..0fc3fe5 100644 ---

[PATCH] s390: char: con3215: Free memory in error path

2015-04-19 Thread Christophe Jaillet
If one memory allocation fails, there is a memory leak. Signed-off-by: Christophe Jaillet christophe.jail...@wanadoo.fr --- drivers/s390/char/con3215.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/s390/char/con3215.c b/drivers/s390/char/con3215.c index c43aca6..0fc3fe5 100644