summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorOliver Neukum <oneukum@suse.com>2022-04-28 16:34:55 +0300
committerMauro Carvalho Chehab <mchehab@kernel.org>2022-05-13 12:02:23 +0300
commitaf2aa3c4e52bc63b532b55b1ac66f262ecff2fb3 (patch)
tree3cea291da9ddd07c3855ff45287121ce7930b732 /tools/perf/scripts/python/export-to-sqlite.py
parent07af64dddfb87d1af9360204155396be07b7aa70 (diff)
downloadlinux-af2aa3c4e52bc63b532b55b1ac66f262ecff2fb3.tar.xz
media: imon: drop references only after device is no longer used
The point of using get/put_device() is to keep references for as long as the device may be in use. That means dropping them must be the penultimate action right before freeing the memory. Signed-off-by: Oliver Neukum <oneukum@suse.com> Signed-off-by: Sean Young <sean@mess.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions