destroy_gfx_mode_list - Man Page
Frees the list created by get_gfx_mode_list(). Allegro game programming library.
Synopsis
#include <allegro.h>
void destroy_gfx_mode_list(GFX_MODE_LIST *mode_list);
Description
Removes the mode list created by get_gfx_mode_list() from memory. Use this once you are done with the generated mode list to avoid memory leaks in your program.
See Also
Referenced By
version 4.4.3 Allegro manual