summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorMathieu Poirier <mathieu.poirier@linaro.org>2016-02-02 14:13:57 -0700
committerMathieu Poirier <mathieu.poirier@linaro.org>2016-06-01 15:30:03 -0600
commit27aa9ceebe6a14dcc961126bd2a3f462dfba256b (patch)
tree4a4e6e97fce7932e14dd49d3d8e5274082b76f45 /tools/perf/scripts/python
parent3e42ab0f61d184a7e6ffa063535afb31538b1595 (diff)
coresight: coresight_unregister() function cleanup
In its current form the code never frees csdev->refcnt allocated in coresight_register(). There is also a problem with csdev->conns that is freed before device_unregister() rather than in the device release function. This patch addresses both issues by moving kfree(csdev->conns) to coresight_device_release() and freeing csdev->refcnt, also in the same function. Reported-by: Rabin Vincent <rabin@rab.in> Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> (cherry picked from commit fae54158792aec705620bdc3938d342879204f0c)
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions