Fix leaks in voice_synthesizer