metamod/mplugin.cpp
branchB-work
changeset 115 abe29e24c713
parent 107 000bbed6865d
child 127 ba8cc90f015b
     1.1 --- a/metamod/mplugin.cpp	Mon Nov 08 17:52:39 2004 +0000
     1.2 +++ b/metamod/mplugin.cpp	Mon Nov 08 19:16:40 2004 +0000
     1.3 @@ -1086,6 +1086,12 @@
     1.4  
     1.5  	if(gamedll_funcs.dllapi_table) free(gamedll_funcs.dllapi_table);
     1.6  	if(gamedll_funcs.newapi_table) free(gamedll_funcs.newapi_table);
     1.7 +	if(dllapi_table) free(dllapi_table);
     1.8 +	if(dllapi_post_table) free(dllapi_post_table);
     1.9 +	if(newapi_table) free(newapi_table);
    1.10 +	if(newapi_post_table) free(newapi_post_table);
    1.11 +	if(engine_table) free(engine_table);
    1.12 +	if(engine_post_table) free(engine_post_table);
    1.13  
    1.14  	status=PL_EMPTY;
    1.15  	action=PA_NULL;
    1.16 @@ -1098,6 +1104,8 @@
    1.17  	newapi_post_table=NULL;
    1.18  	engine_table=NULL;
    1.19  	engine_post_table=NULL;
    1.20 +	gamedll_funcs.dllapi_table = NULL;
    1.21 +	gamedll_funcs.newapi_table = NULL;
    1.22  	return(mTRUE);
    1.23  }
    1.24