From: ouv Date: Wed, 5 Nov 2014 15:04:52 +0000 (+0300) Subject: 0002376: Remark 4.3 C2, inclinaison, regressif bug X-Git-Tag: CTH_1_10_0~3 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=b747a4ac6ec7cd63ef8ea06c9f5e265c2c860277;p=modules%2Fgui.git 0002376: Remark 4.3 C2, inclinaison, regressif bug --- 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; }