Fix blob leak
authorBehdad Esfahbod <behdad@behdad.org>
Tue, 26 Oct 2010 15:28:14 +0000 (11:28 -0400)
committerBehdad Esfahbod <behdad@behdad.org>
Tue, 26 Oct 2010 15:28:14 +0000 (11:28 -0400)
src/hb-font.cc

index ba8ab0d..bd55681 100644 (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;