aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authortang.junhui <[email protected]>2016-10-28 15:54:07 +0800
committerMartin K. Petersen <[email protected]>2016-11-01 13:31:08 -0400
commit1fdd14279eab2e9f79745631379f0c53cb8f9a5a (patch)
treeda02b1bf7fd2fa61cbfe6cd4cf8d25bd04b2c1ba /tools/perf/util/trace-event-scripting.c
parent2bf7dc8443e113844d078fd6541b7f4aa544f92f (diff)
scsi: scsi_dh_alua: fix missing kref_put() in alua_rtpg_work()
Reference count of pg leaks in alua_rtpg_work() since kref_put() is not called to decrease the reference count of pg when the condition pg->rtpg_sdev==NULL satisfied (actually it is easy to satisfy), it would cause memory of pg leakage. Signed-off-by: tang.junhui <[email protected]> Cc: <[email protected]> Reviewed-by: Hannes Reinecke <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions