Commit a95ac7be authored by Francois Cartegnie's avatar Francois Cartegnie

stream_filter: smooth: missing full cleanup/fix leak

parent 8880f6c7
......@@ -77,6 +77,10 @@ quality_level_t * ql_New( void )
void ql_Free( quality_level_t *qlevel )
{
free( qlevel->CodecPrivateData );
FOREACH_ARRAY( custom_attrs_t *p_attrs, qlevel->custom_attrs )
free( p_attrs->psz_key );
free( p_attrs->psz_value );
FOREACH_END()
ARRAY_RESET(qlevel->custom_attrs);
free( qlevel );
qlevel = 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