aboutsummaryrefslogtreecommitdiff
path: root/scripts/objdiff
diff options
context:
space:
mode:
authorJiri Slaby <[email protected]>2010-06-21 17:40:15 +0200
committerMatthew Garrett <[email protected]>2010-08-03 09:48:48 -0400
commite9ec7f3539cbeae8ffc5d7b30543e5612df5cba3 (patch)
tree426f193628cf83689c11dc7a4e8d5afd805a9421 /scripts/objdiff
parentdfec5c48cdfdcb08d73d24cbf277de543ef864ae (diff)
X86: intel_ips, check for kzalloc properly
Stanse found that there are two NULL checks missing in ips_monitor. So check their value too and bail out appropriately if the allocation failed. While at it, add one more kfree to the fail path. It is not necessary now, but may be needed in the future when a new allocation is added. And for completeness. Also remove unneeded initialization of the variables. They are all set right after their declaration. Signed-off-by: Jiri Slaby <[email protected]> Signed-off-by: Matthew Garrett <[email protected]> Acked-by: Jesse Barnes <[email protected]>
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions