In addition to fixing the string conversion issue, fix various memory leaks, poor allocation strategies and other problems with this code. r=mvl sr=bz git-svn-id: svn://10.0.0.236/trunk@187001 18797224-902f-48f8-a5cc-f745e15eee43
In addition to fixing the string conversion issue, fix various memory leaks, poor allocation strategies and other problems with this code. r=mvl sr=bz git-svn-id: svn://10.0.0.236/trunk@187001 18797224-902f-48f8-a5cc-f745e15eee43