× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



 >> If the value of the pointer at deallocate time is still the same as what
was returned from the initial allocate, what else about it can be corrupted?

1) Have you moved (or in any way "touched" the pointer in such a way as it
could have been invalidated?  The content would appear the same but the tag
bit would have been turned off rendering it useless as a pointer.

2) Did you do a realloc and fail to store the new pointer (i.e are you
attempting to free using the original pointer when the realloc may have
changed it?

Jon Paris
Partner400



As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.