? free()
- Posted by Bernie Ryan <xotron at bluefrog.com> Apr 19, 2005
- 461 views
If you have a atom variable that points to some allocate memory and then you you use the free() function to free it. The variable will still contain the address location even though the memory was deallocated. I always thought that variable would be set to ZERO. That is probably why user's are have mysterious crashs. Would'nt it be more logical for the interpreter to set it to ZERO when free()is called ?? Bernie My files in archive: w32engin.ew mixedlib.e eu_engin.e win32eru.ew Can be downloaded here: http://www.rapideuphoria.com/cgi-bin/asearch.exu?dos=on&win=on&lnx=on&gen=on&keywords=bernie+ryan