The :prefs" variable in the "Print" method is null so I changed
NS_RELEASE(prefs) to NS_IF_RELEASE(prefs) why is prefs null?? git-svn-id: svn://10.0.0.236/trunk@18772 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -562,7 +562,7 @@ NS_IMETHODIMP DocumentViewerImpl::Print(void)
|
||||
NS_RELEASE(vm);
|
||||
NS_RELEASE(ss);
|
||||
NS_RELEASE(newdx);
|
||||
NS_RELEASE(prefs);
|
||||
NS_IF_RELEASE(prefs); // XXX why is the prefs null??
|
||||
}
|
||||
|
||||
NS_RELEASE(dx);
|
||||
|
||||
Reference in New Issue
Block a user