From 0a4342098b6d01367c69782c643cb685f1cd3c3d Mon Sep 17 00:00:00 2001 From: arg@10ksloc.org Date: Thu, 20 Jul 2006 18:23:43 +0200 Subject: serious mistake in pop() (forgot to set c->prev to NULL on pop) --- client.c | 1 + 1 file changed, 1 insertion(+) (limited to 'client.c') diff --git a/client.c b/client.c index 34c69aa..89ca5fb 100644 --- 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; -- cgit v1.2.3