|
I ve some queries in CL can anybody help me or suggest me where I need to post my data related to my programs... kindly suggest me fast... Murali > -----Original Message----- > From: Jon Paris [SMTP:Jon.Paris@Partner400.com] > Sent: Friday, January 03, 2003 8:53 PM > To: rpg400-l@midrange.com > Subject: Memory Allocation Question > > >> 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 > > _______________________________________________ > This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list > To post a message email: RPG400-L@midrange.com > To subscribe, unsubscribe, or change list options, > visit: http://lists.midrange.com/cgi-bin/listinfo/rpg400-l > or email: RPG400-L-request@midrange.com > Before posting, please take a moment to review the archives > at http://archive.midrange.com/rpg400-l. WARNING: The information in this message is confidential and may be legally privileged. It is intended solely for the addressee. Access to this message by anyone else is unauthorised. If you are not the intended recipient, any disclosure, copying, or distribution of the message, or any action or omission taken by you in reliance on it, is prohibited and may be unlawful. Please immediately contact the sender if you have received this message in error. Thank you.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.