git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8852
d7cf8633-e32d-0410-b094-
e92efae38249
NetConn_CloseServerPorts();
+ if(sv.csqc_progdata)
+ {
+ Con_DPrintf("Unloading CSQC data.\n");
+ Mem_Free(sv.csqc_progdata);
+ if(sv.csqc_progdata_deflated)
+ Mem_Free(sv.csqc_progdata_deflated);
+ }
+
sv.active = false;
//
// clear structures
//Cvar_SetValue ("skill", (float)current_skill);
current_skill = (int)(skill.value + 0.5);
+ if(sv.csqc_progdata)
+ {
+ Con_DPrintf("Unloading CSQC data.\n");
+ Mem_Free(sv.csqc_progdata);
+ if(sv.csqc_progdata_deflated)
+ Mem_Free(sv.csqc_progdata_deflated);
+ }
//
// set up the new server
//