commit | 33c6853347c13b7cf8d11c12714cd855a84bc992 | [log] [tgz] |
---|---|---|
author | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | Tue Dec 29 16:45:21 2015 -0200 |
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | Mon Jan 11 12:19:26 2016 -0200 |
tree | 5e6256d53617be98004e29f0afbd8a9852217a3f | |
parent | 0230d60e4661d9ced6fb0b9a30f182ebdafbba7a [diff] |
[media] dvb-usb-v2: postpone removal of media_device We should not remove the media_device until its last usage, or we may have use after free troubles. So, move the per-adapter media_device removal to happen at the end of the adapter removal code. Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>