Safety check our automatic context deleting. (NGLayout only)
git-svn-id: svn://10.0.0.236/trunk@6742 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -609,6 +609,10 @@ 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);
|
||||
if (context->modular_data) {
|
||||
free_stub_context(context);
|
||||
} else {
|
||||
TRACEMSG(("net_ReleaseContext: not releasing non-modular context"));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user