Skip to content
Snippets Groups Projects
Commit 9e218857 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont
Browse files

CAM: Missing initializer from earlier rework

parent 875828db
No related branches found
No related tags found
No related merge requests found
......@@ -1957,7 +1957,7 @@ cam_t *en50221_Init( vlc_object_t *obj, int fd )
return NULL;
}
cam_t *p_cam = malloc( sizeof( *p_cam ) );
cam_t *p_cam = calloc( 1, sizeof( *p_cam ) );
if( unlikely(p_cam == NULL) )
goto error;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment