Browse Source

UI: Fix memory leak

Richard Stanway 5 years ago
parent
commit
4570fcbc72
1 changed files with 1 additions and 0 deletions
  1. 1 0
      UI/window-basic-main-scene-collections.cpp

+ 1 - 0
UI/window-basic-main-scene-collections.cpp

@@ -392,6 +392,7 @@ void OBSBasic::on_actionImportSceneCollection_triggered()
 	OBSImporter *imp;
 	imp = new OBSImporter(this);
 	imp->exec();
+	delete imp;
 
 	RefreshSceneCollections();
 }