Fix crash _and_ memory leak? Is it too much to hope?

git-svn-id: svn://10.0.0.236/trunk@6144 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
scullin%netscape.com 1998-07-22 03:48:17 +00:00
parent 264497527a
commit e6798021cc
2 changed files with 4 additions and 4 deletions

View File

@ -3418,11 +3418,11 @@ PUBLIC int NET_ProcessNet (PRFileDesc *ready_fd, int fd_type)
NET_SilentInterruptWindow(tmpEntry->window_id);
}
#endif /* MILAN */
#ifdef MODULAR_NETLIB
net_ReleaseContext(tmpEntry->window_id);
#endif
}
#ifdef MODULAR_NETLIB
net_ReleaseContext(tmpEntry->window_id);
#endif
PR_Free(tmpEntry); /* free the now non active entry */
} /* end if rv < 0 */

View File

@ -515,6 +515,6 @@ static void bam_exit_routine(URL_Struct *URL_s, int status, MWContext *window_id
extern "C" void net_ReleaseContext(MWContext *context)
{
if (context) {
// free_stub_context(context);
free_stub_context(context);
}
}