changeset 695:bd6e2fc53377 by-id

Tidy-up
author Chris Cannam
date Wed, 17 Jul 2019 14:15:03 +0100
parents b5000a78249a
children 155008f1bf10
files framework/Document.cpp
diffstat 1 files changed, 1 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/framework/Document.cpp	Wed Jul 17 14:00:59 2019 +0100
+++ b/framework/Document.cpp	Wed Jul 17 14:15:03 2019 +0100
@@ -348,9 +348,7 @@
 
         if (types.empty()) {
             SVCERR << "WARNING: Document::createLayerForTransformer: no valid display layer for output of transform " << names[i] << endl;
-            //!!! inadequate cleanup:
-            //!!! review: ->
-//            deleteModelFromList(newModel);
+            releaseModel(newModelId);
             return vector<Layer *>();
         }