[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:
Behdad Esfahbod committed 2018-11-11 00:11:28 -05:00
1 parent 5d0078a48b
commit 2ee1d9f555
1 file changed
+1 -1
+1 -1
View File
@@ -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 */