Fix blob leak
This commit is contained in:
parent
bd7378b2ef
commit
ec6c0e54d3
|
@ -310,7 +310,7 @@ _hb_face_for_data_closure_create (hb_blob_t *blob, unsigned int index)
|
||||||
if (unlikely (!closure))
|
if (unlikely (!closure))
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
closure->blob = hb_blob_reference (blob);
|
closure->blob = blob;
|
||||||
closure->index = index;
|
closure->index = index;
|
||||||
|
|
||||||
return closure;
|
return closure;
|
||||||
|
|
Loading…
Reference in New Issue