diff options
| author | Jiri Slaby <[email protected]> | 2013-04-04 16:32:09 -0300 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2013-04-08 06:54:01 -0300 |
| commit | a9bd87c232b87014b20fdf52416f80c5c1e869fc (patch) | |
| tree | 9c5dfe0a29a80007dde51c6a09acdac3fbb0ffbd /tools/perf/scripts/python/check-perf-trace.py | |
| parent | fde04ab95d43e55959f12b92711b0ca4fed40637 (diff) | |
[media] MEDIA: ttusbir, fix double free
rc_unregister_device already calls rc_free_device to free the passed
device. But in one of ttusbir's probe fail paths, we call
rc_unregister_device _and_ rc_free_device. This is wrong and results
in a double free.
Instead, set rc to NULL resulting in rc_free_device being a noop.
Signed-off-by: Jiri Slaby <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions