summaryrefslogtreecommitdiff
path: root/src/server/server.h
diff options
context:
space:
mode:
authorThilo Schulz <arny@ats.s.bawue.de>2011-07-15 14:44:06 +0000
committerTim Angus <tim@ngus.net>2013-01-10 22:27:32 +0000
commita63482883e0e3487da4544699fa9c419cb17127d (patch)
treef711e82ecebdd863d52f290de8515e898282801b /src/server/server.h
parentf7f76ecf69a2908810007940feff04a42121fd05 (diff)
- Revert back to Z_Malloc from Hunk_FreeTempMemory introduced in r2077 as Hunk_FreeTempMemory must be freed in LIFO order (#5079) - Introduce SV_ClientFree() to prevent memory leaks r2077 was supposed to fix
Diffstat (limited to 'src/server/server.h')
-rw-r--r--src/server/server.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/server/server.h b/src/server/server.h
index 7887a2c3..9fcce725 100644
--- a/src/server/server.h
+++ b/src/server/server.h
@@ -331,6 +331,7 @@ void SV_ExecuteClientMessage( client_t *cl, msg_t *msg );
void SV_UserinfoChanged( client_t *cl );
void SV_ClientEnterWorld( client_t *client, usercmd_t *cmd );
+void SV_FreeClient(client_t *client);
void SV_DropClient( client_t *drop, const char *reason );
void SV_ExecuteClientCommand( client_t *cl, const char *s, qboolean clientOK );
@@ -431,4 +432,4 @@ void SV_ClipToEntity( trace_t *trace, const vec3_t start, const vec3_t mins, con
void SV_Netchan_Transmit( client_t *client, msg_t *msg);
int SV_Netchan_TransmitNextFragment(client_t *client);
qboolean SV_Netchan_Process( client_t *client, msg_t *msg );
-
+void SV_Netchan_FreeQueue(client_t *client);