repair detail asset dialog segv
authorGood Guy <good1.2guy@gmail.com>
Wed, 19 Jul 2017 20:20:12 +0000 (14:20 -0600)
committerGood Guy <good1.2guy@gmail.com>
Wed, 19 Jul 2017 20:20:12 +0000 (14:20 -0600)
cinelerra-5.1/cinelerra/assetedit.C

index ec9ad57a58a889e03421d9309aa3fd7aaab5087b..ce91d691ee8b868ec17d4aeabdcc4a99e5dd79e8 100644 (file)
@@ -968,7 +968,7 @@ void DetailAssetWindow::create_objects()
 
 void DetailAssetDialog::start(Asset *asset, int x, int y)
 {
-       delete dwindow;
+       close_window();
        this->asset = asset;
        this->x = x;  this->y = y;
        BC_DialogThread::start();