SDL_Quit

Name

SDL_Quit -- Shut down SDL

Synopsis

uses 
SDL;

procedure SDL_Quit ;

Description

SDL_Quit shuts down all SDL subsystems and frees the resources allocated to them. This should always be called before you exit.

try
SDL_Init( SDL_INIT_VIDEO or SDL_INIT_AUDIO );
.
.
.
.
finally
SDL_Quit;
end;
.
.

See Also

SDL_QuitSubsystem , SDL_Init