×
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.
The first statement within this procedure calls the procedure malloc to
allocate storage and to get a pointer on this storage.
After memset is used to initialize this storage.
It is a best practice to allocate the memory in the calling
program/function, not in the called. Allocation of memory within a called
function (or especially a called program) leads to this type of error.
My guess is that the program is exiting with *INLR on, or that the pointer
is not allocated as *STATIC, but that is just a symptom of a greater
(design) problem.
Dennis Lovelady
http://www.linkedin.com/in/dennislovelady
--
Money is better than poverty, if only for financial reasons.
As an Amazon Associate we earn from qualifying purchases.
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.