flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
LocoDelAssembly
No it is not, you are freeing "MEM" address which was never allocated by malloc but by program loader. Since you store the address returned by malloc at [wsadata], you should do "push [wsadata]/call [free]" instead.
|
|||
![]() |
|
zxcv
yes, ur right. i always used stack for it, but sometimes it went too complicated and i had to write from beggining
![]() 8 bytes in almost empty section isnt much. |
|||
![]() |
|
f0dder
Why do you use hardcoded magic values instead of sizeof?
|
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.
Website powered by rwasa.