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:
jdunn@netscape.com
2001-01-19 01:52:33 +00:00
parent 202720b3e6
commit 9ecd37ff47
2 changed files with 2 additions and 2 deletions

View File

@@ -3509,7 +3509,7 @@ NS_IMETHODIMP nsPluginHostImpl::NewPluginURLStream(const nsString& aURL,
if (newPostData)
{
delete [] newPostData;
delete [] (char *)newPostData;
newPostData = nsnull;
}
}