Clean up SDL. You must make sure to call this before your program ends. See Ensuring Proper Clean Up.
See SDL_Quit.