dryman/opic

OPHeapClose Fails

Opened this issue · 0 comments

Hi,

I tried running the example provided on the repo README and it failed with "msync on 0x1000000000 failed: Cannot allocate memory".

In line 143 of file opic/malloc/op_malloc.c the msync returns 0 on success does it not?

Shouldn't it check for a non-zero value before throwing an error?

Thanks.