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

vlc_object_hold is not needed (vlc_object_find already holds it)

Signed-off-by: default 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 );
......
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