diff options
| author | Furkan Sahin <furkan-dev@proton.me> | 2018-09-19 12:50:19 +0100 |
|---|---|---|
| committer | Furkan Sahin <furkan-dev@proton.me> | 2018-09-19 12:50:19 +0100 |
| commit | cbb4c03dde06e7fe05257e73e60f285525f80daf (patch) | |
| tree | 94cdd2dcf47a7b5ea649738c5808e522b7ab3155 | |
| parent | 4b676c1935ebdaf173dd7bc3fab287df6a570717 (diff) | |
config: free strings fields when freeing input 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); } |
