aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorChristian Brauner <christian.brauner@ubuntu.com>2017-08-21 16:13:28 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-08-22 18:45:07 -0700
commit22eb9476b5d80a393ac0ba235c42bccc90b82c76 (patch)
treeec539b0a38b4b6a2f38b88bbe1caba45eed3c251 /tools/perf/scripts/python/event_analyzing_sample.py
parentANDROID: binder: add hwbinder,vndbinder to BINDER_DEVICES. (diff)
downloadlinux-22eb9476b5d80a393ac0ba235c42bccc90b82c76.tar.gz
linux-22eb9476b5d80a393ac0ba235c42bccc90b82c76.zip
binder: free memory on error
On binder_init() the devices string is duplicated and smashed into individual device names which are passed along. However, the original duplicated string wasn't freed in case binder_init() failed. Let's free it on error. Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com> Cc: stable <stable@vger.kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions