[HarfBuzz] harfbuzz: Branch 'master'

Behdad Esfahbod behdad at kemper.freedesktop.org
Thu Sep 17 08:56:20 PDT 2009


 src/harfbuzz-open.c |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 04d1017a3549d84a66081a2908dd8c390c4bf99c
Author: Behdad Esfahbod <behdad at behdad.org>
Date:   Thu Sep 17 11:52:26 2009 -0400

    Bug 23973 memory leak in _HB_OPEN_Load_EmptyClassDefinition

diff --git a/src/harfbuzz-open.c b/src/harfbuzz-open.c
index cde5465..0fe1e4d 100644
--- a/src/harfbuzz-open.c
+++ b/src/harfbuzz-open.c
@@ -1114,6 +1114,8 @@ _HB_OPEN_Load_EmptyClassDefinition( HB_ClassDefinition*  cd )
   if ( ALLOC_ARRAY( cd->cd.cd1.ClassValueArray, 1, HB_UShort ) )
     return error;
 
+  cd->loaded = TRUE;
+
   return HB_Err_Ok;
 }
 



More information about the HarfBuzz mailing list