More memory fixes

This fixes memory leaks in ZASF and Controller. It also sets an uninitalised variable in audio_file_processor.