[xpcom] Fix the memory leak fix (duh)
authorKalle Vahlman <kalle.vahlman@movial.com>
Thu, 30 Apr 2009 10:31:37 +0000 (13:31 +0300)
committerKalle Vahlman <kalle.vahlman@movial.com>
Thu, 30 Apr 2009 10:31:37 +0000 (13:31 +0300)
xpcom-dbusservice/DBusMarshaling.cpp

index d583330135307406909ba21df4535faed7d29bfa..c31b0223af915c8e767f147c7b9fbb11b5c3e107 100644 (file)
@@ -283,6 +283,7 @@ getSignatureFromVariant(JSContext* cx, nsIVariant *aVariant, nsCString &aResult)
             }
             else if (type == nsIDataType::VTYPE_WCHAR_STR)
             {
+                getSignatureFromVariantType(type, elementsig);
                 for (PRUint32 i = 0; i < count; i++)
                     nsMemory::Free(((char**)data_ptr)[i]);
             }