mirror of
https://github.com/awesomeWM/awesome
synced 2024-09-29 17:37:02 +02:00
tag: fix reference leak
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
a8115bd45e
commit
6d755c5524
1 changed files with 3 additions and 0 deletions
3
tag.c
3
tag.c
|
@ -149,7 +149,10 @@ tag_client(client_t *c)
|
|||
|
||||
/* don't tag twice */
|
||||
if(is_client_tagged(c, t))
|
||||
{
|
||||
tag_unref(globalconf.L, t);
|
||||
return;
|
||||
}
|
||||
|
||||
client_array_append(&t->clients, c);
|
||||
ewmh_client_update_desktop(c);
|
||||
|
|
Loading…
Reference in a new issue