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:
72d9f8e
)
Fix prompt cleanup (was not going through the list correctly when freeing items)
author
Dana Jansens
<danakj@orodu.net>
Tue, 2 Aug 2011 19:53:42 +0000
(15:53 -0400)
committer
Dana Jansens
<danakj@orodu.net>
Sun, 16 Oct 2011 22:55:15 +0000
(18:55 -0400)
openbox/prompt.c
patch
|
blob
|
history
diff --git
a/openbox/prompt.c
b/openbox/prompt.c
index 1aa79d2a122e8a57f2b0859bf4815ca912da66bf..051c993af45af5732d7e117f964884b41a169618 100644
(file)
--- a/
openbox/prompt.c
+++ b/
openbox/prompt.c
@@
-75,11
+75,12
@@
void prompt_startup(gboolean reconfig)
void prompt_shutdown(gboolean reconfig)
{
- GList *it;
+ GList *it
, *next
;
if (!reconfig) {
- for (it = prompt_list; it; it =
g_list_next(it)
) {
+ for (it = prompt_list; it; it =
next
) {
ObPrompt *p = it->data;
+ next = it->next;
if (p->cleanup) p->cleanup(p, p->data);
}