aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRouven Czerwinski <rouven@czerwinskis.de>2018-10-09 13:10:39 +0200
committerRouven Czerwinski <rouven@czerwinskis.de>2018-10-09 13:14:02 +0200
commit1eb0dc2922d608179a00bbf74687f7cdf645381f (patch)
tree9837135ed3c4d816790f251d15acb792658eabe0
parent4bebee620f1160d6531d9aaa9b528029f75cecf4 (diff)
config: remove double free of config->swaynag_command
Fixes #2796
-rw-r--r--sway/config.c2
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) {
memset(&config->handler_context, 0, sizeof(config->handler_context));
- free(config->swaynag_command);
-
// TODO: handle all currently unhandled lists as we add implementations
if (config->symbols) {
for (int i = 0; i < config->symbols->length; ++i) {