cleanups
This commit is contained in:
parent
ed4f84ac33
commit
23697223a5
2 changed files with 3 additions and 3 deletions
|
@ -15,8 +15,8 @@ void tree_destroy(KeyBindingTree *tree)
|
|||
for (it = tree->keylist; it != NULL; it = it->next)
|
||||
g_free(it->data);
|
||||
g_list_free(tree->keylist);
|
||||
for (it = tree->actions; it != NULL; it = it->next)
|
||||
action_free(it->data);
|
||||
for (sit = tree->actions; sit != NULL; sit = sit->next)
|
||||
action_free(sit->data);
|
||||
g_slist_free(tree->actions);
|
||||
}
|
||||
g_free(tree);
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#ifndef __TIMED_MENU_H
|
||||
#define __TIMED_MENU_H
|
||||
|
||||
#endif // __TIMED_MENU_H
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue