cvs: php4 /ext/ircg ircg.c
| From: | Sascha Schumann | Date: | Sat, 28 Apr 2001 18:19:29 +0000 |
| Subject: | cvs: php4 /ext/ircg ircg.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-5348@lists.php.net to get a copy of this message | ||
sas Sat Apr 28 11:19:29 2001 EDT
Modified files:
/php4/ext/ircg ircg.c
Log:
free the message in msg_accum_send, if we recognize the connection
as stale.
Index: php4/ext/ircg/ircg.c
diff -u php4/ext/ircg/ircg.c:1.68 php4/ext/ircg/ircg.c:1.69
--- php4/ext/ircg/ircg.c:1.68 Sat Apr 28 08:43:14 2001
+++ php4/ext/ircg/ircg.c Sat Apr 28 11:19:29 2001
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: ircg.c,v 1.68 2001/04/28 15:43:14 sas Exp $ */
+/* $Id: ircg.c,v 1.69 2001/04/28 18:19:29 sas Exp $ */
#include <time.h>
@@ -491,6 +491,7 @@
if (conn->buffer_count++ > 50) {
time_t now = time(NULL);
+ smart_str_free_ex(msg, 1);
if ((now - conn->login) > 20)
irc_disconnect(&conn->conn, "Timed out waiting for window");
return;