changeset 619:0e95c30d6680 import-audio-data

Avoid leaking dialogs
author Chris Cannam
date Fri, 07 Sep 2018 16:14:19 +0100
parents 636a5908cf81
children bfa9604714c9
files framework/MainWindowBase.cpp
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/framework/MainWindowBase.cpp	Tue Sep 04 13:19:43 2018 +0100
+++ b/framework/MainWindowBase.cpp	Fri Sep 07 16:14:19 2018 +0100
@@ -1866,6 +1866,7 @@
                         (path, dialog->getFormat(),
                          getMainModel()->getSampleRate());
                 }
+                delete dialog;
             }
 
             if (model) {