aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorDmitry Torokhov <[email protected]>2015-07-20 16:02:49 -0700
committerAlexandre Belloni <[email protected]>2015-09-05 13:19:07 +0200
commit6706664d92ea841913d5fcfd06c290fbe6d33bd2 (patch)
tree45a19f8e664116a18607dc69b0c48ba691ba6060 /tools/perf/scripts/python/call-graph-from-postgresql.py
parentdfe6c04aa289de06df95d888719af63d1d4c982d (diff)
rtc: class: fix double free in rtc_register_device() error path
Commit 59cca865f21e ("drivers/rtc/class.c: fix device_register() error handling") correctly noted that naked kfree() should not be used after failed device_register() call, however, while it added the needed put_device() it forgot to remove the original kfree() causing double-free. Cc: Vasiliy Kulikov <[email protected]> Signed-off-by: Dmitry Torokhov <[email protected]> Reviewed-by: Krzysztof Kozlowski <[email protected]> Signed-off-by: Alexandre Belloni <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions