Commit e58d7094 authored by Erwan Tulou's avatar Erwan Tulou Committed by Rémi Denis-Courmont
Browse files

vlc_object_hold is not needed (vlc_object_find already holds it)


Signed-off-by: Rémi Denis-Courmont's avatarRémi Denis-Courmont <remi@remlab.net>
parent 682db2c8
...@@ -477,8 +477,7 @@ static vlc_object_t *FontBuilderAttach( filter_t *p_filter ) ...@@ -477,8 +477,7 @@ static vlc_object_t *FontBuilderAttach( filter_t *p_filter )
} }
} }
} }
else
vlc_object_hold( p_fontbuilder );
if( p_fontbuilder ) if( p_fontbuilder )
{ {
var_AddCallback( p_fontbuilder, "build-done", FontBuilderDone, p_filter ); var_AddCallback( p_fontbuilder, "build-done", FontBuilderDone, p_filter );
......
Supports Markdown
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