Fix a leak of a device context. r=dcone@netscape.com

git-svn-id: svn://10.0.0.236/trunk@63114 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
dbaron%fas.harvard.edu 2000-03-16 01:21:58 +00:00
parent 264ee07331
commit a915f864a2
2 changed files with 2 additions and 0 deletions

View File

@ -2202,6 +2202,7 @@ PRInt16 borderRadii[4],i;
aRenderingContext.GetCurrentTransform(theTransform);
aRenderingContext.GetDeviceContext(theDevContext);
theDevContext->GetAppUnitsToDevUnits(app2dev);
NS_RELEASE(theDevContext);
theTransform->SetToIdentity();
theTransform->AddScale(app2dev, app2dev);

View File

@ -2202,6 +2202,7 @@ PRInt16 borderRadii[4],i;
aRenderingContext.GetCurrentTransform(theTransform);
aRenderingContext.GetDeviceContext(theDevContext);
theDevContext->GetAppUnitsToDevUnits(app2dev);
NS_RELEASE(theDevContext);
theTransform->SetToIdentity();
theTransform->AddScale(app2dev, app2dev);