Fix silly leak that dbaron found with leaksoup. r=jack,a=lumpy.

git-svn-id: svn://10.0.0.236/trunk@73743 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
waterson%netscape.com
2000-07-06 04:27:10 +00:00
parent c968f39b76
commit c117abb0b3
2 changed files with 2 additions and 0 deletions

View File

@@ -5569,6 +5569,7 @@ nsXULDocument::OnStreamComplete(nsIStreamLoader* aLoader,
char* uriSpec;
uri->GetSpec(&uriSpec);
printf("Failed to load %s\n", uriSpec ? uriSpec : "");
nsCRT::free(uriSpec);
}
}
}

View File

@@ -5569,6 +5569,7 @@ nsXULDocument::OnStreamComplete(nsIStreamLoader* aLoader,
char* uriSpec;
uri->GetSpec(&uriSpec);
printf("Failed to load %s\n", uriSpec ? uriSpec : "");
nsCRT::free(uriSpec);
}
}
}