X-Git-Url: http://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.0%2Fcinelerra%2Fawindowgui.C;h=3052201f1cdf36c54628f6bcdd5f8ec087a70883;hb=9af59e88f3b08deff2567228e1796189cba44c8c;hp=3e4c383b9f5095abe32d6a829220dc8aa2e772b1;hpb=32ee2ceae89bbd4714cade28d0728593fdcaa78a;p=goodguy%2Fhistory.git diff --git a/cinelerra-5.0/cinelerra/awindowgui.C b/cinelerra-5.0/cinelerra/awindowgui.C index 3e4c383b..3052201f 100644 --- a/cinelerra-5.0/cinelerra/awindowgui.C +++ b/cinelerra-5.0/cinelerra/awindowgui.C @@ -772,7 +772,7 @@ void AWindowRemovePlugin::handle_close_event(int result) MWindow *mwindow = awindow->mwindow; sprintf(index_path, "%s/%s", mwindow->preferences->plugin_dir, PLUGIN_FILE); mwindow->plugindb->remove(plugin); - plugin->delete_this(); + delete plugin; plugin = 0; remove(plugin_path); if( png_path[0] ) remove(png_path); remove(index_path);