Re: mem leaks win32 call_back
- Posted by raseu Jan 24, 2010
- 1398 views
for the test program i posted earlier,
call_back calls allocate_protect with a
sequence length of 80 (size + BORDER_SPACE * 2)
i retested with the following additions
to the test code
include std/machine.e
and
free_code(headfunc, 80) free_code(writefunc, 80)
after creating call_back(s)
with an additional free(addr) inside std/dll.e
before return page_offset + page_addr
same issue with memory leaks
any pointers (no pun intended) in the right direction
would be of great help