1
linux/drivers/media
Hans Verkuil 46b633779b [media] v4l2-dev: don't memset video_device.dev
Zeroing video_device.dev causes a memory leak if video_set_drvdata
was called before video_register_device was called. video_set_drvdata
calls dev_set_drvdata which allocates video_device.dev.p.

memsetting this will prevent freeing of that memory.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2011-01-19 11:52:13 -02:00
..
common [media] saa7134: Kworld SBTVD: make both analog and digital to work 2011-01-19 11:45:28 -02:00
dvb [media] firedtv: fix remote control with newer Xorg evdev 2011-01-19 11:45:59 -02:00
radio [media] radio-aimslab.c needs #include <linux/delay.h> 2011-01-19 11:45:57 -02:00
rc [media] ir-raw: fix sparse non-ANSI function warning 2011-01-19 11:45:56 -02:00
video [media] v4l2-dev: don't memset video_device.dev 2011-01-19 11:52:13 -02:00
Kconfig [media] dabusb: Move it to staging to be deprecated 2010-12-29 08:17:15 -02:00
Makefile [media] rename drivers/media/IR to drives/media/rc 2010-12-29 08:16:36 -02:00