X-Git-Url: http://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fplugins%2Ftitler%2Ftitlerwindow.C;h=9245368f9bce421f77406ccdd8ec06c0353b32c6;hb=7742a5b086fb7dc60ffc75459b1d25f80fe47990;hp=c34e29038840f23773e554c3456c43d3279e64e7;hpb=83bfb86d01b353bab485d0ccc336e0572bcb63c6;p=goodguy%2Fcinelerra.git diff --git a/cinelerra-5.1/plugins/titler/titlerwindow.C b/cinelerra-5.1/plugins/titler/titlerwindow.C index c34e2903..9245368f 100644 --- a/cinelerra-5.1/plugins/titler/titlerwindow.C +++ b/cinelerra-5.1/plugins/titler/titlerwindow.C @@ -77,6 +77,7 @@ TitleWindow::TitleWindow(TitleMain *client) drag = 0; cur_popup = 0; fonts_popup = 0; + png_popup = 0; color_x = color_y = 0; outline_color_x = outline_color_y = 0; @@ -92,6 +93,7 @@ TitleWindow::TitleWindow(TitleMain *client) encoding = 0; color_button = 0; color_thread = 0; + color_popup = 0; outline_color_button = 0; outline_color_thread = 0; motion_title = 0; @@ -121,14 +123,17 @@ TitleWindow::TitleWindow(TitleMain *client) void TitleWindow::done_event(int result) { drag->drag_deactivate(); - color_thread->close_window(); - outline_color_thread->close_window(); - color_popup->close_window(); - png_popup->close_window(); + delete color_thread; color_thread = 0; + delete outline_color_thread; outline_color_thread = 0; + delete color_popup; color_popup = 0; + delete png_popup; png_popup = 0; + } TitleWindow::~TitleWindow() { + delete color_thread; + delete outline_color_thread; delete color_popup; delete png_popup; for( int i=0; i