linux/drivers/staging/dgap
Ronit Halder 5b62408ffe staging: dgap: fix memory leak in dgap_parsefile()
In dgap_parsefile() char pointers are set with kstrdup()
without checking that some string is allocated to that
char pointer before. This patch frees the memory if already allocated
and then set the poniter with kstrdup().

Signed-off-by: Ronit halder <ronit.crj@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2015-09-30 12:26:20 +02:00
..
dgap.c staging: dgap: fix memory leak in dgap_parsefile() 2015-09-30 12:26:20 +02:00
dgap.h Staging: dgap: dgap: Fixed spelling errors 2015-05-31 11:40:14 +09:00
Kconfig staging,dgap: Add dependency on HAS_IOMEM 2014-01-15 14:51:22 -08:00
Makefile staging: dgap: Rename driver 2014-02-24 16:48:44 -08:00