X-Git-Url: http://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Fformattools.C;fp=cinelerra-5.1%2Fcinelerra%2Fformattools.C;h=1f3fc3caac80295bdcb64ce3d5e25e58376cd6e7;hb=4d7f82a573a67301c43189fe20d0d4aa96b2b200;hp=ad6df95b18b19379cc0b5a128bd0dc656ed7d4b5;hpb=bb02ac232cc030971ef6c03019f4de77da055153;p=goodguy%2Fhistory.git diff --git a/cinelerra-5.1/cinelerra/formattools.C b/cinelerra-5.1/cinelerra/formattools.C index ad6df95b..1f3fc3ca 100644 --- a/cinelerra-5.1/cinelerra/formattools.C +++ b/cinelerra-5.1/cinelerra/formattools.C @@ -690,9 +690,8 @@ FormatAThread::FormatAThread(FormatTools *format) FormatAThread::~FormatAThread() { + delete file; file = 0; join(); - delete file; - file = 0; } void FormatAThread::start() @@ -721,9 +720,8 @@ FormatVThread::FormatVThread(FormatTools *format) FormatVThread::~FormatVThread() { + delete file; file = 0; join(); - delete file; - file = 0; } void FormatVThread::start()