MCPcopy Create free account
hub / github.com/JACoders/OpenJK / SV_FreeClient

Function SV_FreeClient

code/server/sv_client.cpp:579–592  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

577
578
579void SV_FreeClient(client_t *client)
580{
581 int i;
582
583 if (!client) return;
584
585 for(i=0; i<MAX_RELIABLE_COMMANDS; i++) {
586 if ( client->reliableCommands[ i] ) {
587 Z_Free( client->reliableCommands[ i] );
588 client->reliableCommands[i] = NULL;
589 client->reliableSequence = 0;
590 }
591 }
592}
593

Callers 1

SV_ShutdownFunction · 0.85

Calls 1

Z_FreeFunction · 0.50

Tested by

no test coverage detected