fix the "free before strdup" problem. s/rc/rv/g Use NS_ERROR_OUT_OF_MEMORY where appropriate. git-svn-id: svn://10.0.0.236/trunk@93946 18797224-902f-48f8-a5cc-f745e15eee43