aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/stackusage
diff options
context:
space:
mode:
authorTony Cho <tony.cho@atmel.com>2015-09-07 19:09:31 +0900
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-09-12 18:24:45 -0700
commitf638dd3918a4caa910ce62176d2d185203867876 (patch)
treed0a4e18997fb9420564bc2a8c0f8a5ef3590f6f0 /scripts/stackusage
parentstaging: wilc1000: remove unused preprocessor definition (diff)
staging: wilc1000: fix potential memory leak
This patch adds kfree(mgmt_tx) when memory allocation of mgmt_tx->buff fails in the second calls of kmalloc() to avoid the memory leak from mgmt_tx first allocated before the second calls of kmalloc(). Signed-off-by: Tony Cho <tony.cho@atmel.com> Signed-off-by: Chris Park <chirs.park@atmel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions