incubator-ooo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From h..@apache.org
Subject svn commit: r1350543 - /incubator/ooo/trunk/main/drawinglayer/source/processor3d/zbufferprocessor3d.cxx
Date Fri, 15 Jun 2012 09:03:30 GMT
Author: hdu
Date: Fri Jun 15 09:03:30 2012
New Revision: 1350543

URL: http://svn.apache.org/viewvc?rev=1350543&view=rev
Log:
#c705641# make sure neither pContent nor pAlpha BitmapAccesses are leaked

Modified:
    incubator/ooo/trunk/main/drawinglayer/source/processor3d/zbufferprocessor3d.cxx

Modified: incubator/ooo/trunk/main/drawinglayer/source/processor3d/zbufferprocessor3d.cxx
URL: http://svn.apache.org/viewvc/incubator/ooo/trunk/main/drawinglayer/source/processor3d/zbufferprocessor3d.cxx?rev=1350543&r1=1350542&r2=1350543&view=diff
==============================================================================
--- incubator/ooo/trunk/main/drawinglayer/source/processor3d/zbufferprocessor3d.cxx (original)
+++ incubator/ooo/trunk/main/drawinglayer/source/processor3d/zbufferprocessor3d.cxx Fri Jun
15 09:03:30 2012
@@ -124,11 +124,11 @@ namespace
 						}
 					}
 				}
-
-				delete pContent;
-				delete pAlpha;
 			}
 
+			delete pContent;
+			delete pAlpha;
+
 			aRetval = BitmapEx(aContent, aAlpha);
 
 			// #i101811# set PrefMapMode and PrefSize at newly created Bitmap



Mime
View raw message