Commit 250b5a41 authored by Jean-Paul Saman's avatar Jean-Paul Saman

Fix potential segfault

parent cd1957d2
......@@ -119,6 +119,7 @@ update_t *__update_New( vlc_object_t *p_this )
if( p_this == NULL ) return NULL;
p_update = (update_t *)malloc( sizeof( update_t ) );
if( !p_update ) return NULL;
vlc_mutex_init( p_this, &p_update->lock );
......
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