Hi<br><br>Is there any reason why shm_free does not set the pointer it is freeing to zero once it is free-ed?<br><br>Code like:<br><b>if (pointer) {<br>            shm_free(pointer);</b><br clear="all"><br>Is not really useful seen as how shm_free does not set the pointer to zero - any double free will still cause a crash.<br>
<br>I suppose it forces the developer to be careful with memory management - is this the only reason?<br><br>Regards<br>Richard.<br><br>

<pre>This email is subject to the disclaimer of Smile Communications (PTY) Ltd. at http://www.smilecoms.com/disclaimer