aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/tcp_input.c
diff options
context:
space:
mode:
authorGuenter Roeck <[email protected]>2011-09-24 22:27:04 +0000
committerGuenter Roeck <[email protected]>2011-09-28 15:19:21 +0000
commit20ecb499f64a7e8e7fe03f6098ab25c71b7a6481 (patch)
tree6cd20d373c279a92acb8917c2945c6132ce66486 /net/ipv4/tcp_input.c
parenthwmon: (coretemp) Fixup platform device ID change (diff)
downloadkernel-20ecb499f64a7e8e7fe03f6098ab25c71b7a6481.tar.gz
kernel-20ecb499f64a7e8e7fe03f6098ab25c71b7a6481.zip
hwmon: (coretemp) Avoid leaving around dangling pointer
Storing the struct temp_data pointer allocated from create_core_data() when returning an error has the potential of leaving around a pointer to freed memory. Reset it to NULL for error returns. Reported-by: Jan Beulich <[email protected]> Signed-off-by: Guenter Roeck <[email protected]> Acked-by: Jean Delvare <[email protected]>
Diffstat (limited to 'net/ipv4/tcp_input.c')
0 files changed, 0 insertions, 0 deletions