From a22e6de0e96b68b28cd750e3041fdc864bf3331a Mon Sep 17 00:00:00 2001 From: Ebrahim Byagowi Date: Tue, 28 Apr 2020 19:25:37 +0430 Subject: [PATCH] [blob] close file reader handle fortunately it isn't in that use as having mmap reader as the default --- src/hb-blob.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/hb-blob.cc b/src/hb-blob.cc index fe2d8ef57..74a62f120 100644 --- a/src/hb-blob.cc +++ b/src/hb-blob.cc @@ -654,6 +654,7 @@ fail_without_close: len += addition; } + fclose (fp); return hb_blob_create (data, len, HB_MEMORY_MODE_WRITABLE, data, (hb_destroy_func_t) free);