* sound.c (sound_cleanup): Don't call device close routine if pointer is null.