sys/v4l2/: Init some structs to zero before we pass them to ioctl, which avoids valgr...
authorTim-Philipp Müller <tim@centricular.net>
Tue, 11 Dec 2007 11:50:54 +0000 (11:50 +0000)
committerTim-Philipp Müller <tim@centricular.net>
Tue, 11 Dec 2007 11:50:54 +0000 (11:50 +0000)
commit8d0960ec264312fa2f9cdf1efbc9b0082e9baac7
tree376f7399889a99150868fbe27af1ae52117ae719
parentdbf28d28e755089fdb13790ca930f1511c17adc0
sys/v4l2/: Init some structs to zero before we pass them to ioctl, which avoids valgrind warnings.  Also fix a small ...

Original commit message from CVS:
* sys/v4l2/v4l2_calls.c: (gst_v4l2_fill_lists):
* sys/v4l2/v4l2src_calls.c: (gst_v4l2src_fill_format_list):
Init some structs to zero before we pass them to ioctl, which
avoids valgrind warnings.  Also fix a small memory leak.
ChangeLog
sys/v4l2/v4l2_calls.c
sys/v4l2/v4l2src_calls.c