aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2018-10-09 13:37:20 +0200
committerGitHub <noreply@github.com>2018-10-09 13:37:20 +0200
commite143c9613d350b74e02c5ac3c9a055ab26fc9588 (patch)
tree9837135ed3c4d816790f251d15acb792658eabe0
parent4bebee620f1160d6531d9aaa9b528029f75cecf4 (diff)
parent1eb0dc2922d608179a00bbf74687f7cdf645381f (diff)
downloadsway-e143c9613d350b74e02c5ac3c9a055ab26fc9588.tar.xz
Merge pull request #2804 from Emantor/swaynag-double-free
config: remove double free of config->swaynag_command
-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) {