NECKO only: fixing MakeAbsolute when loading images, cleanup

git-svn-id: svn://10.0.0.236/trunk@38326 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
andreas.otte%primus-online.de
1999-07-04 22:23:38 +00:00
parent ea2f6c0267
commit 722e2bb4b3
3 changed files with 4 additions and 3 deletions

View File

@@ -1225,7 +1225,7 @@ nsGenericElement::TriggerLink(nsIPresContext& aPresContext,
if (NS_FAILED(rv)) return;
char *absUrl = nsnull;
const char *uriStr = aURLSpec.ToNewCString();
char *uriStr = aURLSpec.ToNewCString();
rv = service->MakeAbsolute(uriStr, baseUri, &absUrl);
nsCRT::free(uriStr);