ref: ab6ecc6404515d6c400b6dc4c3a185df5aca8344
parent: f6fdd54a5ffa22f7991490390d19a7fa386af03d
author: Simon Howard <fraggle@gmail.com>
date: Thu Feb 23 18:40:30 EST 2006
Free back packets sent to the server after parsing them Subversion-branch: /trunk/chocolate-doom Subversion-revision: 384
--- 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 @@
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