qtCanvas::Impl::~Impl() { finishCompression(); finishTrack(); finishMovie(); if (mPath) CFRelease(mPath); finishImage(); finishSCComponent(); }
JpegImageInput::~JpegImageInput() { finishImage(); rw_source_IOChannel* src = reinterpret_cast<rw_source_IOChannel*>(m_cinfo.src); delete src; m_cinfo.src = NULL; jpeg_destroy_decompress(&m_cinfo); }