Fix FontBuiler object destruction
authorRafaël Carré <funman@videolan.org>
Mon, 10 Mar 2008 20:12:49 +0000 (21:12 +0100)
committerRafaël Carré <funman@videolan.org>
Mon, 10 Mar 2008 20:12:49 +0000 (21:12 +0100)
modules/misc/freetype.c

index 76e4a8b..7a64431 100644 (file)
@@ -523,6 +523,8 @@ static void FontBuilder( vlc_object_t *p_this )
         FcConfigDestroy( p_fontconfig );
         vlc_mutex_unlock( lock );
     }
+    vlc_object_detach( p_this );
+    vlc_object_release( p_this );
 }
 
 #endif