diff options
author | Simon Howard | 2006-02-23 23:40:30 +0000 |
---|---|---|
committer | Simon Howard | 2006-02-23 23:40:30 +0000 |
commit | ab6ecc6404515d6c400b6dc4c3a185df5aca8344 (patch) | |
tree | 96d311b486966b56a2b15528a68aee8dbaa1d3fb /src | |
parent | f6fdd54a5ffa22f7991490390d19a7fa386af03d (diff) | |
download | chocolate-doom-ab6ecc6404515d6c400b6dc4c3a185df5aca8344.tar.gz chocolate-doom-ab6ecc6404515d6c400b6dc4c3a185df5aca8344.tar.bz2 chocolate-doom-ab6ecc6404515d6c400b6dc4c3a185df5aca8344.zip |
Free back packets sent to the server after parsing them
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 384
Diffstat (limited to 'src')
-rw-r--r-- | src/net_server.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/net_server.c b/src/net_server.c index 64f85e4b..9e82ddec 100644 --- a/src/net_server.c +++ b/src/net_server.c @@ -1,7 +1,7 @@ // Emacs style mode select -*- C++ -*- //----------------------------------------------------------------------------- // -// $Id: net_server.c 380 2006-02-23 19:15:18Z fraggle $ +// $Id: net_server.c 384 2006-02-23 23:40:30Z fraggle $ // // Copyright(C) 2005 Simon Howard // @@ -21,6 +21,9 @@ // 02111-1307, USA. // // $Log$ +// Revision 1.33 2006/02/23 23:40:30 fraggle +// Free back packets sent to the server after parsing them +// // Revision 1.32 2006/02/23 19:15:18 fraggle // Fix crash when NOT recording lowres // @@ -1306,6 +1309,7 @@ void NET_SV_Run(void) while (NET_RecvPacket(server_context, &addr, &packet)) { NET_SV_Packet(packet, addr); + NET_FreePacket(packet); } // "Run" any clients that may have things to do, independent of responses |