Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions control.c
Original file line number Diff line number Diff line change
Expand Up @@ -217,8 +217,7 @@ static struct control_device *alloc_control_device(void)
sizeof(struct vcam_device *) * devices_max, GFP_KERNEL);
if (!(res->vcam_devices))
goto vcam_alloc_failure;
memset(res->vcam_devices, 0x00,
sizeof(struct vcam_devices *) * devices_max);
memset(res->vcam_devices, 0x00, sizeof(struct vcam_device *) * devices_max);
res->vcam_device_count = 0;

return res;
Expand Down
Loading