Commit eebcafa0 authored by Per Cederqvist's avatar Per Cederqvist
Browse files

(prot_a_destruct): Set c_local_text_no_p to NULL after freeing it, to

	avoid logging "kill_client(): unexpected local_text_no
	remains." when a client disconnects while sending a
	c_local_text_no_p array. (Bug 816).
parent 65653f5d
/*
* $Id: prot-a.c,v 0.69 2002/09/06 22:42:54 ceder Exp $
* $Id: prot-a.c,v 0.70 2002/10/23 09:04:02 ceder Exp $
* Copyright (C) 1991-2002 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
......@@ -361,6 +361,7 @@ prot_a_destruct(Connection *conn)
conn->num_list.data = NULL;
sfree(conn->c_local_text_no_p);
conn->c_local_text_no_p = NULL;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment