mirror of
https://github.com/swaywm/sway.git
synced 2024-12-30 17:06:40 +01:00
config: free strings fields when freeing input config
This commit is contained in:
parent
cdce604d8e
commit
8e8a5ca217
1 changed files with 7 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue