Merge pull request #2670 from ianyfan/commands

config: free strings fields when freeing input config
This commit is contained in:
Drew DeVault 2018-09-19 08:16:20 -04:00 committed by GitHub
commit a83773e5ca
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -140,6 +140,13 @@ void free_input_config(struct input_config *ic) {
return; return;
} }
free(ic->identifier); free(ic->identifier);
free(ic->xkb_layout);
free(ic->xkb_model);
free(ic->xkb_options);
free(ic->xkb_rules);
free(ic->xkb_variant);
free(ic->mapped_from_region);
free(ic->mapped_to_output);
free(ic); free(ic);
} }