From 25e1e32f5440f16caae4609185ddcd5d81d8f6eb Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Sun, 14 Sep 2003 20:57:14 +0000 Subject: [PATCH] fix mem leak, remove teh ice watch handler --- openbox/event.c | 4 ++++ 1 file changed, 4 insertions(+) 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); } -- 2.45.2