Bug 485598 imgRequestProxy should use XPCOM allocator for XPCOM outparams r=joedrew sr=jag

This commit is contained in:
Neil Rashbrook 2009-03-29 12:46:12 +01:00
parent 115f00c797
commit cc451ea0d8

View File

@ -329,7 +329,7 @@ NS_IMETHODIMP imgRequestProxy::GetMimeType(char **aMimeType)
if (!type)
return NS_ERROR_FAILURE;
*aMimeType = nsCRT::strdup(type);
*aMimeType = NS_strdup(type);
return NS_OK;
}