Backout patch from bug 528964 due to bustage.
authorReed Loden <reed@reedloden.com>
Thu, 03 Dec 2009 03:18:52 -0600
changeset 35437 68a9b171da30
parent 35436 3ba6cbcc8bef
child 35439 7179b9b6c010
push id10595
push userreed@reedloden.com
push dateThu, 03 Dec 2009 09:19:16 +0000
treeherdermozilla-central@68a9b171da30 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs528964
milestone1.9.3a1pre
Backout patch from bug 528964 due to bustage.
xpcom/glue/nsGREGlue.cpp
--- a/xpcom/glue/nsGREGlue.cpp
+++ b/xpcom/glue/nsGREGlue.cpp
@@ -163,17 +163,17 @@ GRE_GetGREPathWithProperties(const GREVe
                              char *aBuffer, PRUint32 aBufLen)
 {
 #ifdef TARGET_XPCOM_ABI
   // append the ABI to the properties to match only binary 
   // compatible GREs
   static const GREProperty kExtraProperty =
     { "abi", TARGET_XPCOM_ABI };
 
-  nsAutoArrayPtr<GREProperty> allProperties = new GREProperty[propertiesLength + 1];
+  GREProperty *allProperties = new GREProperty[propertiesLength + 1];
   if (!allProperties)
     return NS_ERROR_OUT_OF_MEMORY;
 
   for (PRUint32 i=0; i<propertiesLength; i++) {
     allProperties[i].property = properties[i].property;
     allProperties[i].value    = properties[i].value;
   }
   allProperties[propertiesLength].property = kExtraProperty.property;