From: Dana Jansens Date: Sun, 14 Sep 2003 20:57:14 +0000 (+0000) Subject: fix mem leak, remove teh ice watch handler X-Git-Url: https://git.dogcows.com/gitweb?a=commitdiff_plain;h=25e1e32f5440f16caae4609185ddcd5d81d8f6eb;p=chaz%2Fopenbox fix mem leak, remove teh ice watch handler --- diff --git a/openbox/event.c b/openbox/event.c index 22a074fd..e2851809 100644 --- a/openbox/event.c +++ b/openbox/event.c @@ -138,6 +138,10 @@ void event_shutdown(gboolean reconfig) { if (reconfig) return; +#ifdef USE_SM + IceRemoveConnectionWatch(ice_watch, NULL); +#endif + client_remove_destructor(focus_delay_client_dest); XFreeModifiermap(modmap); }