mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-10 11:55:49 +00:00
Bug 485598 imgRequestProxy should use XPCOM allocator for XPCOM outparams r=joedrew sr=jag
This commit is contained in:
parent
115f00c797
commit
cc451ea0d8
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user