Fix blob leak

This commit is contained in:
Behdad Esfahbod 2010-10-26 11:28:14 -04:00
parent bd7378b2ef
commit ec6c0e54d3

View File

@ -310,7 +310,7 @@ _hb_face_for_data_closure_create (hb_blob_t *blob, unsigned int index)
if (unlikely (!closure))
return NULL;
closure->blob = hb_blob_reference (blob);
closure->blob = blob;
closure->index = index;
return closure;