mirror of https://github.com/0intro/wmii
[witray] Fix some memory corruption.
This commit is contained in:
parent
de0d5ba77e
commit
3ecd2db1aa
|
@ -69,6 +69,7 @@ client_cleanup(XEmbed *e) {
|
||||||
*cp = c->next;
|
*cp = c->next;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
cleanupwindow(&c->w);
|
||||||
free(c);
|
free(c);
|
||||||
tray_update();
|
tray_update();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue