mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-12-01 10:34:23 +01:00
[blob] Change null object memory mode to DUPLICATE
We never rely on that being equal to readonly. Just not being writable. Maybe not even that given that the object is inert. In prep for next commit, using default null pool.
This commit is contained in:
1 parent
5d0078a48b
commit
2ee1d9f555
1 file changed
+1
-1
+1
-1
@@ -59,7 +59,7 @@ DEFINE_NULL_INSTANCE (hb_blob_t) =
|
||||
|
||||
nullptr, /* data */
|
||||
0, /* length */
|
||||
HB_MEMORY_MODE_READONLY, /* mode */
|
||||
HB_MEMORY_MODE_DUPLICATE, /* mode */
|
||||
|
||||
nullptr, /* user_data */
|
||||
nullptr /* destroy */
|
||||
|
||||
Reference in new issue
Block a user