Commit 6c12fccf authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

fontconfig: fix unpaired object release

parent 613e1831
...@@ -475,6 +475,8 @@ static vlc_object_t *FontBuilderAttach( filter_t *p_filter ) ...@@ -475,6 +475,8 @@ 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