Fix use-after-free of ImageArea::mainCropWindow
(#3048)
This commit is contained in:
parent
87eea2f078
commit
8e6cfcb766
@ -16,7 +16,7 @@
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with RawTherapee. If not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
* This median implementations from Floessie and Ingo Weyrich are inspired by this work:
|
||||
* These median implementations from Flössie and Ingo Weyrich are inspired by this work:
|
||||
*
|
||||
* http://ndevilla.free.fr/median/median.pdf
|
||||
* http://pages.ripco.net/~jgamble/nw.html
|
||||
|
@ -781,6 +781,7 @@ void EditorPanel::close ()
|
||||
if(iareapanel) {
|
||||
iareapanel->imageArea->setPreviewHandler (NULL);
|
||||
iareapanel->imageArea->setImProcCoordinator (NULL);
|
||||
iareapanel->imageArea->unsubscribe();
|
||||
}
|
||||
|
||||
rtengine::StagedImageProcessor::destroy (ipc);
|
||||
|
Loading…
x
Reference in New Issue
Block a user