X-Git-Url: http://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Fsetformat.C;h=bf22103f2c0e6e7889bc5e3b63b5552af991ea3e;hb=32294ae14f17c867a39f638112cbec12d59b32d6;hp=b70f68824cf1bb8c172dcec863fe9bc35d610ccc;hpb=74afbc29ac4ce9d94d53e10342979f2c59f1f193;p=goodguy%2Fhistory.git diff --git a/cinelerra-5.1/cinelerra/setformat.C b/cinelerra-5.1/cinelerra/setformat.C index b70f6882..bf22103f 100644 --- a/cinelerra-5.1/cinelerra/setformat.C +++ b/cinelerra-5.1/cinelerra/setformat.C @@ -279,22 +279,18 @@ void SetFormatThread::update_aspect() SetFormatWindow::SetFormatWindow(MWindow *mwindow, - SetFormatThread *thread, - int x, - int y) - : BC_Window(_(PROGRAM_NAME ": Set Format"), - x, - y, - mwindow->theme->setformat_w, - mwindow->theme->setformat_h, - -1, - -1, - 0, - 0, - 1) + SetFormatThread *thread, int x, int y) + : BC_Window(_(PROGRAM_NAME ": Set Format"), x, y, + mwindow->theme->setformat_w, mwindow->theme->setformat_h, + -1, -1, 0, 0, 1) { this->mwindow = mwindow; this->thread = thread; + presets = 0; +} +SetFormatWindow::~SetFormatWindow() +{ + delete presets; } void SetFormatWindow::create_objects()