From 62c2fb1293a2063c85d5a8f1ecc931801d9b4283 Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Wed, 13 Aug 2008 11:35:52 +0200 Subject: [PATCH] tag: unref later I somehow miss that patch in the merge. Signed-off-by: Julien Danjou --- tag.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tag.c b/tag.c index b4d540a6..140ffd16 100644 --- a/tag.c +++ b/tag.c @@ -154,8 +154,8 @@ untag_client(client_t *c, tag_t *t) for(int i = 0; i < t->clients.len; i++) if(t->clients.tab[i] == c) { - tag_unref(&t); client_array_take(&t->clients, i); + tag_unref(&t); client_saveprops(c); widget_invalidate_cache(c->screen, WIDGET_CACHE_CLIENTS); globalconf.screens[c->screen].need_arrange = true;