fixing the issue of "delete [] (void*)". This is wrong.
since the pointer was 'newed' as a char *, we need to delete a (char *) No bug for this... but very similar to # 34040 r= cls@seawood.org Joe.Chou@eng.sun.com
This commit is contained in:
@@ -3509,7 +3509,7 @@ NS_IMETHODIMP nsPluginHostImpl::NewPluginURLStream(const nsString& aURL,
|
||||
|
||||
if (newPostData)
|
||||
{
|
||||
delete [] newPostData;
|
||||
delete [] (char *)newPostData;
|
||||
newPostData = nsnull;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user