commit | bf244f665d76d20312c80524689b32a752888838 | [log] [tgz] |
---|---|---|
author | Max Kellermann <max@duempel.org> | Mon Mar 21 10:30:28 2016 -0300 |
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | Sat May 07 11:43:53 2016 -0300 |
tree | 592a03ddfb450ffa7e0da8741a8bcfd373b80755 | |
parent | c56d34a73ea3622fbc3f5a85140f2353f14b591c [diff] |
[media] drivers/media/media-devnode: clear private_data before put_device() Callbacks invoked from put_device() may free the struct media_devnode pointer, so any cleanup needs to be done before put_device(). Signed-off-by: Max Kellermann <max@duempel.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>