aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_out.c
diff options
context:
space:
mode:
authorDavid Woodhouse <[email protected]>2013-03-14 13:30:20 +0000
committerGuenter Roeck <[email protected]>2013-03-14 06:57:19 -0700
commit6975404fb9bcc3ca41946ce0506f97db30fb8705 (patch)
tree530eb057a39ca7a6822fe8054c644f8e9661e580 /net/lapb/lapb_out.c
parentdf069079c153d22adf6c28dcc0b1cf62bba75167 (diff)
hwmon: (pmbus) Fix krealloc() misuse in pmbus_add_attribute()
If krealloc() returns NULL, it *doesn't* free the original. So any code of the form 'foo = krealloc(foo, …);' is almost certainly a bug. Signed-off-by: David Woodhouse <[email protected]> Signed-off-by: Guenter Roeck <[email protected]>
Diffstat (limited to 'net/lapb/lapb_out.c')
0 files changed, 0 insertions, 0 deletions