Bug 429520: Type mismatch in nsGConfService::GetStringList (gnome proxy exceptions are ignored), patch by Sylvain Pasche <sylvain.pasche@gmail.com>, r+sr=roc, a=beltzner

git-svn-id: svn://10.0.0.236/trunk@250621 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
gavin%gavinsharp.com 2008-04-22 19:46:07 +00:00
parent f6671fcc5f
commit bcc1f23c1f

View File

@ -143,7 +143,7 @@ nsGConfService::GetStringList(const nsACString &aKey, nsIArray** aResult)
}
for (GSList* l = list; l; l = l->next) {
nsCOMPtr<nsISupportsString> obj(do_CreateInstance(NS_SUPPORTS_CSTRING_CONTRACTID));
nsCOMPtr<nsISupportsString> obj(do_CreateInstance(NS_SUPPORTS_STRING_CONTRACTID));
if (!obj) {
g_slist_free(list);
return NS_ERROR_OUT_OF_MEMORY;