From: Antoine Cellerier Date: Sat, 28 Jun 2008 21:58:29 +0000 (+0200) Subject: Don't assert. X-Git-Tag: 0.9.0-test1~59 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=470ba2c1ea11b8b11fda606ff0279fad11e6c4a2;p=vlc Don't assert. --- diff --git a/modules/misc/freetype.c b/modules/misc/freetype.c index 35a646122d..421c3e943d 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" );