diff options
author | Colin Ian King <[email protected]> | 2017-01-24 14:38:38 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2017-01-25 11:41:44 +0100 |
commit | acf50ec773703f7043944aaf957b625a82fc9ce0 (patch) | |
tree | 62067bb44fe9eabe71330c76ee1598bfb68e47ab /lib/dynamic_debug.c | |
parent | 3c84dc7e79f5bd676599a79a6bfed4d30a38ae30 (diff) |
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 <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'lib/dynamic_debug.c')
0 files changed, 0 insertions, 0 deletions