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:
rods%netscape.com
1999-01-27 15:25:56 +00:00
parent 5d60d05625
commit abd0d10a02

View File

@@ -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);