diff options
author | 2018-10-09 13:10:39 +0200 | |
---|---|---|
committer | 2018-10-09 13:14:02 +0200 | |
commit | 1eb0dc2922d608179a00bbf74687f7cdf645381f (patch) | |
tree | 9837135ed3c4d816790f251d15acb792658eabe0 /sway | |
parent | Merge pull request #2772 from RyanDwyer/improve-popup-damage (diff) | |
download | sway-1eb0dc2922d608179a00bbf74687f7cdf645381f.tar.gz sway-1eb0dc2922d608179a00bbf74687f7cdf645381f.tar.zst sway-1eb0dc2922d608179a00bbf74687f7cdf645381f.zip |
config: remove double free of config->swaynag_command
Fixes #2796
Diffstat (limited to 'sway')
-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) { |