Allegro 5 api
#include <allegro5/allegro_native_dialog.h> void al_destroy_native_file_dialog(ALLEGRO_FILECHOOSER *dialog)
Frees up all resources used by the file dialog.