Oops, I forgot to remove the calls to al_destroy_bitmap.
Use g_free instead of free.