Commit 568fc279 authored by Julien 'Lta' BALLET's avatar Julien 'Lta' BALLET Committed by Jean-Baptiste Kempf

src/input/input.c: Fix a tiny memory leak.

Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 3c91c68a
......@@ -310,7 +310,10 @@ static input_thread_t *Create( vlc_object_t *p_parent, input_item_t *p_item,
p_input->p = calloc( 1, sizeof( input_thread_private_t ) );
if( !p_input->p )
{
vlc_object_release( p_input );
return NULL;
}
/* Parse input options */
vlc_mutex_lock( &p_item->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