[blob] close file reader handle

fortunately it isn't in that use as having mmap reader as the default
This commit is contained in:
Ebrahim Byagowi 2020-04-28 19:25:37 +04:30 committed by GitHub
parent 39976ee660
commit a22e6de0e9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -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);