diff --git a/modules/misc/freetype.c b/modules/misc/freetype.c index 35a646122da3b550d236c60b8dba9140ddac66a6..421c3e943dd085c41d912b9cf8b77f0cc0198fe6 100644 --- a/modules/misc/freetype.c +++ b/modules/misc/freetype.c @@ -380,7 +380,7 @@ static int Create( vlc_object_t *p_this ) */ p_fontbuilder = vlc_object_create( p_filter->p_libvlc, - VLC_OBJECT_GENERIC ); + sizeof(vlc_object_t) ); if( p_fontbuilder ) { p_fontbuilder->psz_object_name = strdup( "fontlist builder" );