1.5 Allocating and Releasing Memory Buffers
When allocating and releasing memory buffers on a Windows Server system, make sure each memory buffer is released from the same heap in which it was allocated. If it is not, a segmentation fault occurs.
For example, a memory buffer that is allocated using
Falloc() must be released using Ffree().
If a memory buffer allocated with malloc() is freed
using Ffree(), a segmentation fault occurs. The
free() routine must be used, in the latter case, to
free the memory buffer.
For more information about Falloc,Falloc32(3fml)and Ffree, Ffree32(3fml), see Oracle Tuxedo ATMI FML Function Reference. For more information about malloc() and free(), see the documentation delivered with your operating system.
Parent topic: Using Oracle Tuxedo ATMI on Windows Server