Index: third_party/harfbuzz-ng/src/hb-graphite2.cc |
diff --git a/third_party/harfbuzz-ng/src/hb-graphite2.cc b/third_party/harfbuzz-ng/src/hb-graphite2.cc |
index 60d68d6b57a6aa69d65ec11940315524bbafaa81..a309ca853bc042def6abf0e2a7c19c10f415a798 100644 |
--- a/third_party/harfbuzz-ng/src/hb-graphite2.cc |
+++ b/third_party/harfbuzz-ng/src/hb-graphite2.cc |
@@ -34,8 +34,6 @@ |
#include <graphite2/Segment.h> |
-#include "hb-ot-tag.h" |
- |
HB_SHAPER_DATA_ENSURE_DECLARE(graphite2, face) |
HB_SHAPER_DATA_ENSURE_DECLARE(graphite2, font) |
@@ -109,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); |