Fix for 1742. There is a bigger bug hiding behind this one... its about file:// urls. It needs to be revisited later.

This commit is contained in:
gagan%netscape.com 1999-03-16 07:45:16 +00:00
Родитель ea59cb7d03
Коммит 27adab7d10
1 изменённых файлов: 6 добавлений и 3 удалений

Просмотреть файл

@ -586,11 +586,14 @@ nsresult nsNetlibService::OpenBlockingStream(nsIURL *aUrl,
#endif /* TIMEBOMB_ON */
/* Start the URL load... */
NET_GetURL (URL_s, /* URL_Struct */
if (0 > NET_GetURL (URL_s, /* URL_Struct */
FO_CACHE_AND_NGLAYOUT, /* FO_Present_type */
(MWContext *) stubContext, /* MWContext */
bam_exit_routine); /* Exit routine... */
bam_exit_routine)) /* Exit routine... */
{
//Not releasing anything since bam_exit_routine will still be called.
goto loser;
}
/* Remember, the URL_s may have been freed ! */
/*