More memory fixes

This fixes memory leaks in ZASF and Controller. It also sets an uninitalised variable in audio_file_processor.
This commit is contained in:
Daniel Winzen
2014-12-17 21:01:26 +01:00
parent 3c5d940561
commit 0891c53582
3 changed files with 5 additions and 0 deletions

View File

@@ -173,8 +173,11 @@ Controller * Controller::create( ControllerTypes _ct, Model * _parent )
if( dummy )
c = dummy;
else
{
c = new Controller( DummyController, NULL,
QString() );
dummy = c;
}
break;
case Controller::LfoController: