aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf
diff options
context:
space:
mode:
authorJesper Juhl <[email protected]>2013-01-14 20:34:09 +0100
committerJiri Kosina <[email protected]>2013-01-29 10:52:20 +0100
commitfe194f19da971a114b0f65cf8267c1d42f3be87e (patch)
treeea48f2a6298864c3b8989b1d13ca0eab1fdb844f /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf
parentc353516f48b5496e3d806782cd900763133707c5 (diff)
IB: cxgb3: delay freeing mem untill entirely done with it
Sure, it's just the pointer value we use, but the coverity checker complains about a use-after-free bug and it really does seem cleaner to delay freeing until we are entirely done with the memory. So, rearrange the code to move the kfree() later untill we are completely done. Trivial and harmless, but nice IMHO. Signed-off-by: Jesper Juhl <[email protected]> Reviewed-by: Steve Wise <[email protected]> Signed-off-by: Jiri Kosina <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf')
0 files changed, 0 insertions, 0 deletions