diff options
author | Drew DeVault <sir@cmpwn.com> | 2015-11-16 10:49:02 -0500 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2015-11-16 10:49:02 -0500 |
commit | 95c65ee33ea05963e334555311414e0d834de4b7 (patch) | |
tree | 8b4aa0be0fdfa0a18503671a1ce7220ae5b05d3f /sway/config.c | |
parent | Update README (diff) | |
parent | cmd_output: Replace existing config if called multiple times. (diff) | |
download | sway-95c65ee33ea05963e334555311414e0d834de4b7.tar.gz sway-95c65ee33ea05963e334555311414e0d834de4b7.tar.zst sway-95c65ee33ea05963e334555311414e0d834de4b7.zip |
Merge pull request #232 from sce/replace_output_config
cmd_output: Replace existing config if called multiple times.
Diffstat (limited to 'sway/config.c')
-rw-r--r-- | sway/config.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/config.c b/sway/config.c index 0b25ee60..ce6d8baf 100644 --- a/sway/config.c +++ b/sway/config.c | |||
@@ -36,7 +36,7 @@ static void free_mode(struct sway_mode *mode) { | |||
36 | free(mode); | 36 | free(mode); |
37 | } | 37 | } |
38 | 38 | ||
39 | static void free_output_config(struct output_config *oc) { | 39 | void free_output_config(struct output_config *oc) { |
40 | free(oc->name); | 40 | free(oc->name); |
41 | free(oc); | 41 | free(oc); |
42 | } | 42 | } |