[vlc-devel] commit: Fix FontBuiler object destruction ( Rafaël Carré )

git version control git at videolan.org
Mon Mar 10 21:13:43 CET 2008


vlc | branch: master | Rafaël Carré <funman at videolan.org> | Mon Mar 10 21:12:49 2008 +0100| [fe37fc3e55aa2ec68b03beb890d2ded1125e0c1c]

Fix FontBuiler object destruction

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=fe37fc3e55aa2ec68b03beb890d2ded1125e0c1c
---

 modules/misc/freetype.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/modules/misc/freetype.c b/modules/misc/freetype.c
index 76e4a8b..7a64431 100644
--- a/modules/misc/freetype.c
+++ b/modules/misc/freetype.c
@@ -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




More information about the vlc-devel mailing list