diff options
author | Ian Fan <ianfan0@gmail.com> | 2018-09-19 12:50:19 +0100 |
---|---|---|
committer | Ian Fan <ianfan0@gmail.com> | 2018-09-19 12:55:49 +0100 |
commit | 8e8a5ca217871e3b97c3aaa6779c2111142c9de8 (patch) | |
tree | 94cdd2dcf47a7b5ea649738c5808e522b7ab3155 /sway/config | |
parent | cdce604d8e166ae905b394306fece4e7f035cedd (diff) |
config: free strings fields when freeing input config
Diffstat (limited to 'sway/config')
-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); } |