commit | 90a0f9fa0c020c268ac3ba31c7f1337eed85f35e | [log] [tgz] |
---|---|---|
author | Behdad Esfahbod <behdad@behdad.org> | Wed Sep 26 15:03:07 2018 -0400 |
committer | Behdad Esfahbod <behdad@behdad.org> | Wed Sep 26 15:03:07 2018 -0400 |
tree | c086e8ba63c3097ac45ddc3b0702ada716592ccb | |
parent | 34d5a2595331c568ae524057d031c9d5d2573978 [diff] [blame] |
Make TSan happy with make_immutable()
diff --git a/src/hb-blob.cc b/src/hb-blob.cc index fca3c91..f095266 100644 --- a/src/hb-blob.cc +++ b/src/hb-blob.cc
@@ -293,6 +293,8 @@ { if (hb_object_is_inert (blob)) return; + if (blob->immutable) + return; blob->immutable = true; }