Added NS_RELEASE's to fix leaking of nsIImage's. bug=19114; r=karnaze@netscape.com

git-svn-id: svn://10.0.0.236/trunk@55120 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
kmcclusk%netscape.com
1999-12-03 00:06:32 +00:00
parent 12f1c79c88
commit d3a24645a8
7 changed files with 14 additions and 2 deletions

View File

@@ -36,6 +36,7 @@
#include "nsIURL.h"
#include "nsLayoutAtoms.h"
#include "prprf.h"
#include "nsIImage.h"
nsBulletFrame::nsBulletFrame()
{
@@ -134,6 +135,7 @@ nsBulletFrame::Paint(nsIPresContext* aCX,
aRenderingContext.DrawImage(image, innerArea);
return NS_OK;
}
NS_RELEASE(image);
}
}