diff options
author | Stefan Hajnoczi <stefanha@gmail.com> | 2011-12-10 02:12:27 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-12-09 19:26:09 -0800 |
commit | 60c01a977814788178362ff0e1a22dfbf106eede (patch) | |
tree | f2c4bde5eebe5e2265536d30062b809a8605e2fe /tools/perf/scripts/python/futex-contention.py | |
parent | 407f3fd8faf80f77c47ebda7501c6a8698d2f3a6 (diff) |
staging: line6: fix memory leak in .hw_params()
The .hw_params() pcm callback can be invoked multiple times in a row.
Ensure that the URB data buffer is only allocated once.
Signed-off-by: Stefan Hajnoczi <stefanha@gmail.com>
Signed-off-by: Markus Grabner <grabner@icg.tugraz.at>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'tools/perf/scripts/python/futex-contention.py')
0 files changed, 0 insertions, 0 deletions