More memory fixes

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