]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
0002376: Remark 4.3 C2, inclinaison, regressif bug
authorouv <ouv@opencascade.com>
Wed, 5 Nov 2014 15:04:52 +0000 (18:04 +0300)
committerouv <ouv@opencascade.com>
Wed, 5 Nov 2014 15:04:52 +0000 (18:04 +0300)
src/SVTK/SVTK_ViewWindow.cxx

index 93a788c2a322148be998249211687092c9682a90..1ccc4a1851701f17a2ca21ae55c0c63b77cdef87 100755 (executable)
@@ -924,6 +924,10 @@ QImage SVTK_ViewWindow::dumpViewContent()
 
   anImage = anImage.rgbSwapped();
   anImage = anImage.mirrored();
+
+  if( aData )
+    delete aData;
+
   return anImage;
 }