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:
parent
f6671fcc5f
commit
bcc1f23c1f
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user