lsatenstein
14th April 2003, 18:58
In a program script we have several alloc.mem() function calls to obtain memory from the heap. The question I have is:
Is the heap memory returned when the program script/session exits and there is no mem.free() call for the allocated memory.
Is the allocated memory only free when the user logs out from Baan?
If it is the latter, then there are several standard 4c4 sessions that expect the user to log out after using the session. If it is the former, then we are OK.
Any clarification for this would be appreciated. Just to mention, that I always code and call the mem.free() for every alloc.mem().
Les.
Is the heap memory returned when the program script/session exits and there is no mem.free() call for the allocated memory.
Is the allocated memory only free when the user logs out from Baan?
If it is the latter, then there are several standard 4c4 sessions that expect the user to log out after using the session. If it is the former, then we are OK.
Any clarification for this would be appreciated. Just to mention, that I always code and call the mem.free() for every alloc.mem().
Les.