diff options
author | Drew DeVault <sir@cmpwn.com> | 2018-10-09 13:37:20 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-09 13:37:20 +0200 |
commit | e143c9613d350b74e02c5ac3c9a055ab26fc9588 (patch) | |
tree | 9837135ed3c4d816790f251d15acb792658eabe0 | |
parent | Merge pull request #2772 from RyanDwyer/improve-popup-damage (diff) | |
parent | config: remove double free of config->swaynag_command (diff) | |
download | sway-e143c9613d350b74e02c5ac3c9a055ab26fc9588.tar.gz sway-e143c9613d350b74e02c5ac3c9a055ab26fc9588.tar.zst sway-e143c9613d350b74e02c5ac3c9a055ab26fc9588.zip |
Merge pull request #2804 from Emantor/swaynag-double-free
config: remove double free of config->swaynag_command
-rw-r--r-- | sway/config.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sway/config.c b/sway/config.c index a50e9144..1926bc08 100644 --- a/sway/config.c +++ b/sway/config.c | |||
@@ -73,8 +73,6 @@ void free_config(struct sway_config *config) { | |||
73 | 73 | ||
74 | memset(&config->handler_context, 0, sizeof(config->handler_context)); | 74 | memset(&config->handler_context, 0, sizeof(config->handler_context)); |
75 | 75 | ||
76 | free(config->swaynag_command); | ||
77 | |||
78 | // TODO: handle all currently unhandled lists as we add implementations | 76 | // TODO: handle all currently unhandled lists as we add implementations |
79 | if (config->symbols) { | 77 | if (config->symbols) { |
80 | for (int i = 0; i < config->symbols->length; ++i) { | 78 | for (int i = 0; i < config->symbols->length; ++i) { |