|
In your example, you did an allocation in the caller first. The called
procedure then does the %realloc if needed. I was thinking, since
caller did the allocation first, that might trick the system to think
that the memory is still belongs to the caller after the %realloc in
called procedure. I doubt this is true.
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.