Release the Presentation Context.. fixes printing leak r=kmmclusk, sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@86984 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -2107,7 +2107,7 @@ nsCOMPtr<nsIWebShell> webContainer;
|
||||
NS_RELEASE(mPrintVM);
|
||||
NS_RELEASE(mPrintSS);
|
||||
NS_RELEASE(mPrintDC);
|
||||
//NS_RELEASE(mPrintPC);
|
||||
NS_RELEASE(mPrintPC);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -2107,7 +2107,7 @@ nsCOMPtr<nsIWebShell> webContainer;
|
||||
NS_RELEASE(mPrintVM);
|
||||
NS_RELEASE(mPrintSS);
|
||||
NS_RELEASE(mPrintDC);
|
||||
//NS_RELEASE(mPrintPC);
|
||||
NS_RELEASE(mPrintPC);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -2107,7 +2107,7 @@ nsCOMPtr<nsIWebShell> webContainer;
|
||||
NS_RELEASE(mPrintVM);
|
||||
NS_RELEASE(mPrintSS);
|
||||
NS_RELEASE(mPrintDC);
|
||||
//NS_RELEASE(mPrintPC);
|
||||
NS_RELEASE(mPrintPC);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user