From b747a4ac6ec7cd63ef8ea06c9f5e265c2c860277 Mon Sep 17 00:00:00 2001 From: ouv Date: Wed, 5 Nov 2014 18:04:52 +0300 Subject: [PATCH] 0002376: Remark 4.3 C2, inclinaison, regressif bug --- src/SVTK/SVTK_ViewWindow.cxx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/SVTK/SVTK_ViewWindow.cxx b/src/SVTK/SVTK_ViewWindow.cxx index 93a788c2a..1ccc4a185 100755 --- a/src/SVTK/SVTK_ViewWindow.cxx +++ b/src/SVTK/SVTK_ViewWindow.cxx @@ -924,6 +924,10 @@ QImage SVTK_ViewWindow::dumpViewContent() anImage = anImage.rgbSwapped(); anImage = anImage.mirrored(); + + if( aData ) + delete aData; + return anImage; } -- 2.39.2