![]() |
![]() |
|
|
Allocating and Releasing Memory Buffers
When allocating and releasing memory buffers on a Windows 2000 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 the BEA Tuxedo ATMI FML Function Reference. For more information about malloc() and free(), see the documentation delivered with your operating system.
![]() |
![]() |
![]() |
|
Copyright © 2001 BEA Systems, Inc. All rights reserved.
|