linux/drivers/misc/eeprom
Colin Ian King acf50ec773 eeprom: fix memory leak on buf when failed allocation of csraddr_str
The error return path When csraddr_str fails to free buf, causing a
memory leak. Fix this by returning via the free_buf label that
performs the necessary cleanup.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-01-25 11:41:44 +01:00
..
at24.c eeprom: at24: check if the chip is functional in probe() 2016-08-22 08:19:58 +02:00
at25.c at25: fix debug and error messaging 2016-09-27 12:43:35 +02:00
digsy_mtc_eeprom.c
eeprom_93cx6.c eeprom-93cx6: Add (read-only) support for 8-bit mode 2014-11-25 15:42:53 +01:00
eeprom_93xx46.c eeprom: 93xx46: Fix SPI device leak 2016-05-01 14:04:19 -07:00
eeprom.c misc: eeprom: use kobj_to_dev() 2016-02-07 23:01:45 -08:00
idt_89hpesx.c eeprom: fix memory leak on buf when failed allocation of csraddr_str 2017-01-25 11:41:44 +01:00
Kconfig eeprom: Add IDT 89HPESx EEPROM/CSR driver 2017-01-19 11:39:57 +01:00
Makefile eeprom: Add IDT 89HPESx EEPROM/CSR driver 2017-01-19 11:39:57 +01:00
max6875.c Merge branch 'i2c/for-4.3' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux 2015-09-08 16:16:26 -07:00