commit 0a4342098b6d01367c69782c643cb685f1cd3c3d parent 72707c2fae68f5eba6ea97cbf356bfb968c8a15d Author: arg@10ksloc.org <unknown> Date: Thu, 20 Jul 2006 18:23:43 +0200 serious mistake in pop() (forgot to set c->prev to NULL on pop) Diffstat:
M | client.c | | | 1 | + |
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/client.c b/client.c @@ -284,6 +284,7 @@ pop(Client *c) c->next->prev = c->prev; *l = c->next; + c->prev = NULL; if(clients) clients->prev = c; c->next = clients;