[blob] Minor change in destruction

No semantic change.
This commit is contained in:
Behdad Esfahbod 2021-07-30 12:37:40 -06:00
parent 7cbcdaf68a
commit 5dc4cd71cc
1 changed files with 1 additions and 1 deletions

View File

@ -88,7 +88,7 @@ struct hb_blob_ptr_t
const T * get () const { return b->as<T> (); }
hb_blob_t * get_blob () const { return b.get_raw (); }
unsigned int get_length () const { return b.get ()->length; }
void destroy () { hb_blob_destroy (b.get ()); b = nullptr; }
void destroy () { hb_blob_destroy (b.get_raw ()); b = nullptr; }
private:
hb_nonnull_ptr_t<hb_blob_t> b;