aboutsummaryrefslogtreecommitdiff
path: root/rootston/config.c
diff options
context:
space:
mode:
authorTony Crisci <tony@dubstepdish.com>2017-11-16 06:54:49 -0500
committerGitHub <noreply@github.com>2017-11-16 06:54:49 -0500
commit900d9dc05e83dda18086b4cb2f6bcce06ed7b387 (patch)
tree0f7b541296b28c3ebf14a678483bc8f19296bd24 /rootston/config.c
parent57a355a6a778c1b23de8728f407b10cc2e481758 (diff)
parentbb79ada49f43be5417bdd55fda3a7cf07c2a69df (diff)
Merge pull request #422 from emersion/scan-build-fixes
Fix a bunch of mistakes detected with scan-build
Diffstat (limited to 'rootston/config.c')
-rw-r--r--rootston/config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rootston/config.c b/rootston/config.c
index 7ffbb786..727b52d0 100644
--- a/rootston/config.c
+++ b/rootston/config.c
@@ -405,7 +405,7 @@ void roots_config_destroy(struct roots_config *config) {
}
struct roots_keyboard_config *kc, *ktmp = NULL;
- wl_list_for_each_safe(kc, ktmp, &config->bindings, link) {
+ wl_list_for_each_safe(kc, ktmp, &config->keyboards, link) {
free(kc->name);
free(kc->rules);
free(kc->model);