Release the Presentation Context.. fixes printing leak r=kmmclusk, sr=attinasi
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