aboutsummaryrefslogtreecommitdiff
path: root/sway
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2018-07-16 21:00:57 -0400
committerDrew DeVault <sir@cmpwn.com>2018-07-16 21:02:13 -0400
commitdb3a36373435a34b8d0a5fc4e90eacaa2b1dae6b (patch)
tree2ddd5d9c4992937811c257affa19724960722672 /sway
parent9c8d73dad6d6a4c06d523d7eedd0031f5d384b5b (diff)
Revert "config: free include path on successful load"
This reverts commit 92450883d7b148d408b42c3553a60340a14771f6.
Diffstat (limited to 'sway')
-rw-r--r--sway/config.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sway/config.c b/sway/config.c
index f63835bf..2c051146 100644
--- a/sway/config.c
+++ b/sway/config.c
@@ -474,7 +474,6 @@ static bool load_include_config(const char *path, const char *parent_dir,
list_del(config->config_chain, index);
return false;
}
- free(real_path);
// restore current_config_path
config->current_config_path = parent_config;