API Memory Allocation |
The API never requires the user to pass in an allocated item. Any API function that does allocation has a corresponding API function which must be called to free that item. The user must never call the system ‘free()’ to free an item allocated by the API.
Scientific Toolworks, Inc. http://www.scitools.com |