Commit 9e218857 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

CAM: Missing initializer from earlier rework

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