]> Dogcows Code - chaz/openbox/commitdiff
fix mem leak, remove teh ice watch handler
authorDana Jansens <danakj@orodu.net>
Sun, 14 Sep 2003 20:57:14 +0000 (20:57 +0000)
committerDana Jansens <danakj@orodu.net>
Sun, 14 Sep 2003 20:57:14 +0000 (20:57 +0000)
openbox/event.c

index 22a074fd462cfe420cc6864b114a5868f3134f3b..e2851809ab7f3016fd650e560bd6eedc35044ed2 100644 (file)
@@ -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);
 }
This page took 0.025159 seconds and 4 git commands to generate.