Fix possible NULL dereference

As reported by Kenichi Ishibashi.
This commit is contained in:
Behdad Esfahbod 2012-09-03 20:19:46 -04:00
parent 4b312fb288
commit f8fa2b5cf6
1 changed files with 1 additions and 1 deletions

View File

@ -92,7 +92,7 @@ struct hb_would_apply_context_t
glyphs (glyphs_),
len (len_),
zero_context (zero_context_),
digest (*digest_),
digest (digest_ ? *digest_ : hb_set_digest_t()),
debug_depth (0) {};
};