projects
/
dana
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0d75755
)
don't leak serial ignores on shutdown
author
Dana Jansens
<danakj@orodu.net>
Fri, 11 Jun 2010 15:54:48 +0000
(11:54 -0400)
committer
Dana Jansens
<danakj@orodu.net>
Sat, 26 Jun 2010 23:30:49 +0000
(
01:30
+0200)
openbox/event.c
patch
|
blob
|
history
diff --git
a/openbox/event.c
b/openbox/event.c
index a508abfafa84eca11d3957b553e6ee2841e5ed39..8fc9a3fc47482fc0237d291ca9437cbee8468c45 100644
(file)
--- a/
openbox/event.c
+++ b/
openbox/event.c
@@
-161,8
+161,15
@@
void event_startup(gboolean reconfig)
void event_shutdown(gboolean reconfig)
{
+ GSList *it;
+
if (reconfig) return;
+ for (it = ignore_serials; it; it = g_slist_next(it))
+ g_slice_free(ObSerialRange, it->data);
+ g_slist_free(ignore_serials);
+ ignore_serials = NULL;
+
#ifdef USE_SM
IceRemoveConnectionWatch(ice_watch, NULL);
#endif