Commit 5a4f8260 authored by Jean-Paul Saman's avatar Jean-Paul Saman

Fix memory leak

parent 87de74a8
......@@ -436,14 +436,6 @@ static int OpenFilter( vlc_object_t *p_this )
p_filter->fmt_out.i_codec = VLC_FOURCC('f','l','3','2');
#endif
/* Allocate the memory needed to store the module's structure */
p_sys = p_filter->p_sys = malloc( sizeof(filter_sys_t) );
if( p_sys == NULL )
{
msg_Err( p_filter, "out of memory" );
return VLC_EGENERIC;
}
/* Allocate the memory needed to store the module's structure */
p_filter->p_sys = p_sys = malloc( sizeof(filter_sys_t) );
if( p_sys == NULL )
......
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