Free an SDL_PixelFormat structure allocated by SDL_CreatePixelFormat().
void SDL_DestroyPixelFormat(SDL_PixelFormat *format);
This function is available since SDL 3.0.0.
CategoryAPI