fix mem leak, remove teh ice watch handler
This commit is contained in:
parent
673383d047
commit
25e1e32f54
1 changed files with 4 additions and 0 deletions
|
@ -138,6 +138,10 @@ void event_shutdown(gboolean reconfig)
|
||||||
{
|
{
|
||||||
if (reconfig) return;
|
if (reconfig) return;
|
||||||
|
|
||||||
|
#ifdef USE_SM
|
||||||
|
IceRemoveConnectionWatch(ice_watch, NULL);
|
||||||
|
#endif
|
||||||
|
|
||||||
client_remove_destructor(focus_delay_client_dest);
|
client_remove_destructor(focus_delay_client_dest);
|
||||||
XFreeModifiermap(modmap);
|
XFreeModifiermap(modmap);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue