[HarfBuzz] harfbuzz: Branch 'master'
Behdad Esfahbod
behdad at kemper.freedesktop.org
Tue Jan 28 08:21:25 PST 2014
src/hb-graphite2.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 24e6b11f12788500182715a64d4771a22c5b7525
Author: Konstantin Ritt <ritt.ks at gmail.com>
Date: Tue Jan 28 18:16:01 2014 +0200
Fix double destruction in case of OOM
diff --git a/src/hb-graphite2.cc b/src/hb-graphite2.cc
index ea442a3..a309ca8 100644
--- a/src/hb-graphite2.cc
+++ b/src/hb-graphite2.cc
@@ -107,7 +107,7 @@ _hb_graphite2_shaper_face_data_create (hb_face_t *face)
hb_graphite2_shaper_face_data_t *data = (hb_graphite2_shaper_face_data_t *) calloc (1, sizeof (hb_graphite2_shaper_face_data_t));
if (unlikely (!data))
- hb_blob_destroy (silf_blob);
+ return NULL;
data->face = face;
data->grface = gr_make_face (data, &hb_graphite2_get_table, gr_face_preloadAll);
More information about the HarfBuzz
mailing list