void al_destroy_bitmap(ALLEGRO_BITMAP *bitmap)
Introduced in 5.0.0

Destroys the given bitmap, freeing all resources used by it. Does nothing if given the null pointer.

Examples: ex_bitmap, ex_bitmap_flip, ex_bitmap_target, ex_blend2, ex_blend_bench, ex_blend_test, ex_blit, ex_clip, ex_convert, ex_curl, ex_draw, ex_draw_bitmap, ex_dualies, ex_expose, ex_filter, ex_font, ex_fs_resize, ex_gldepth, ex_lines, ex_lockbitmap, ex_logo, ex_mixer_pp, ex_mouse_cursor, ex_multiwin, ex_nodisplay, ex_physfs, ex_pixelformat, ex_premulalpha, ex_resize2, ex_rotate, ex_scale, ex_subbitmap, ex_transform

Most helpful discussions:

Other recent discussions: