Commit 8a26156e authored by Derk-Jan Hartman's avatar Derk-Jan Hartman

* forwardport [18201]

  fixes a big crasher in the DestroyFilter of the logo video filter
parent c638a67c
...@@ -270,11 +270,11 @@ void FreeLogoList( logo_list_t *p_logo_list ) ...@@ -270,11 +270,11 @@ void FreeLogoList( logo_list_t *p_logo_list )
for( i = 0; i < p_logo_list->i_count; i++ ) for( i = 0; i < p_logo_list->i_count; i++ )
{ {
logo_t *p_logo = &p_logo_list->p_logo[i]; logo_t *p_logo = &p_logo_list->p_logo[i];
FREENULL( p_logo[i].psz_file ); FREENULL( p_logo->psz_file );
if( p_logo[i].p_pic ) if( p_logo->p_pic )
{ {
p_logo[i].p_pic->pf_release( p_logo[i].p_pic ); p_logo->p_pic->pf_release( p_logo->p_pic );
p_logo[i].p_pic = NULL; p_logo->p_pic = 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