From 1eb0dc2922d608179a00bbf74687f7cdf645381f Mon Sep 17 00:00:00 2001 From: Rouven Czerwinski Date: Tue, 9 Oct 2018 13:10:39 +0200 Subject: [PATCH] config: remove double free of config->swaynag_command Fixes #2796 --- sway/config.c | 2 -- 1 file changed, 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) {