Squished a memory leak

git-svn-id: svn://10.0.0.236/trunk@47641 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
kipp%netscape.com
1999-09-15 20:38:09 +00:00
parent 064a873a94
commit 5d3af4637b
6 changed files with 12 additions and 12 deletions

View File

@@ -5450,7 +5450,7 @@ nsBlockFrame::HandleEvent(nsIPresContext& aPresContext,
break;//done
}
}
nsIContent *content;
nsCOMPtr<nsIContent> content;
PRInt32 contentOffset;
//we will now ask where to go. if we cant find what we want"aka another block frame"
//we drill down again
@@ -5459,7 +5459,7 @@ nsBlockFrame::HandleEvent(nsIPresContext& aPresContext,
mainframe,
closestLine-1,
aEvent->point.x,
&content,
getter_AddRefs(content),
&contentOffset,
0,
&resultFrame