Fix InitHooks
FossilOrigin-Name: 013fdb012138b46f78d55efb63d130a56f1037809c5e43714e38331f047472e7
This commit is contained in:
parent
cef85c7d77
commit
7647698b31
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@ void mstdnt_set_hooks(struct mstdnt_hooks* hooks)
|
|||
.malloc_fn = hooks->malloc,
|
||||
.free_fn = hooks->free,
|
||||
};
|
||||
cJSON_InitHooks(&hooks);
|
||||
cJSON_InitHooks(&cjson_hooks);
|
||||
|
||||
_mstdnt_hooks_def = *hooks;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue