diff options
author | Drew DeVault <sir@cmpwn.com> | 2018-09-19 08:16:20 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-19 08:16:20 -0400 |
commit | a83773e5cad9c3c988a664e177a885c61457c03a (patch) | |
tree | 94cdd2dcf47a7b5ea649738c5808e522b7ab3155 /sway/config/input.c | |
parent | cdce604d8e166ae905b394306fece4e7f035cedd (diff) | |
parent | 8e8a5ca217871e3b97c3aaa6779c2111142c9de8 (diff) |
Merge pull request #2670 from ianyfan/commands
config: free strings fields when freeing input config
Diffstat (limited to 'sway/config/input.c')
-rw-r--r-- | sway/config/input.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sway/config/input.c b/sway/config/input.c index 9885e85c..ad5b96c8 100644 --- a/sway/config/input.c +++ b/sway/config/input.c @@ -140,6 +140,13 @@ void free_input_config(struct input_config *ic) { return; } 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); } |