Commit be378fbc authored by Rémi Duraffort's avatar Rémi Duraffort

Clone video filter : fix potential memleak.

parent 7686840e
...@@ -160,7 +160,7 @@ static int Create( vlc_object_t *p_this ) ...@@ -160,7 +160,7 @@ static int Create( vlc_object_t *p_this )
* sizeof(char *) ); * sizeof(char *) );
if( !p_vout->p_sys->ppsz_vout_list ) if( !p_vout->p_sys->ppsz_vout_list )
{ {
msg_Err( p_vout, "out of memory" ); free( psz_clonelist );
free( p_vout->p_sys ); free( p_vout->p_sys );
return VLC_ENOMEM; return VLC_ENOMEM;
} }
......
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