moved the heapsize parameter from hcl_open() to hcl_ignite()

This commit is contained in:
2021-02-09 17:47:22 +00:00
parent 816b900231
commit 43322c6901
8 changed files with 21 additions and 28 deletions

View File

@ -885,7 +885,7 @@ hcl_json_t* hcl_json_open (hcl_mmgr_t* mmgr, hcl_oow_t xtnsize, hcl_json_prim_t*
return HCL_NULL;
}
hcl = hcl_openstdwithmmgr(mmgr, HCL_SIZEOF(*xtn), 2048, errnum);
hcl = hcl_openstdwithmmgr(mmgr, HCL_SIZEOF(*xtn), errnum);
if (!hcl)
{
HCL_MMGR_FREE (mmgr, json);