Miles Sound System SDK 7.2a

AIL_mem_free_lock

The function AIL_mem_free_lock frees a pointer previously allocated with AIL_mem_alloc_lock or AIL_file_read.

void AIL_mem_free_lock(
  void const * ptr
);

In Parameters

ptr
specifies the pointer that you want to free.

Discussion

You must use this function to free all pointers allocated with AIL_mem_alloc_lock or AIL_file_read or your application may leak memory.

Under DOS and MacOS 9, this function must not be invoked from an interrupt-based callback function.

Example files that use this function: DEMO.C


Group: Memory and File Services
Related Functions: AIL_MIDI_to_XMI, AIL_compress_ADPCM, AIL_compress_ASI, AIL_compress_DLS, AIL_decompress_ADPCM, AIL_decompress_ASI, AIL_extract_DLS, AIL_file_fss_read, AIL_file_read, AIL_filter_DLS_with_XMI, AIL_find_DLS, AIL_list_DLS, AIL_list_MIDI, AIL_mem_alloc_lock, AIL_mem_use_free, AIL_merge_DLS_with_XMI, AIL_vmm_unlock, AIL_vmm_unlock_range
Related Basic Types: void, void const *
Related FAQs: When can I free the memory I gave to MSS?

For technical support, e-mail Miles3@radgametools.com
© Copyright 1991-2007 RAD Game Tools, Inc. All Rights Reserved.