summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar Drew DeVault <sir@cmpwn.com>2018-07-16 21:00:57 -0400
committerLibravatar Drew DeVault <sir@cmpwn.com>2018-07-16 21:02:13 -0400
commitdb3a36373435a34b8d0a5fc4e90eacaa2b1dae6b (patch)
tree2ddd5d9c4992937811c257affa19724960722672
parentMerge pull request #2287 from RyanDwyer/superfluous-urgent-events (diff)
downloadsway-db3a36373435a34b8d0a5fc4e90eacaa2b1dae6b.tar.gz
sway-db3a36373435a34b8d0a5fc4e90eacaa2b1dae6b.tar.zst
sway-db3a36373435a34b8d0a5fc4e90eacaa2b1dae6b.zip
Revert "config: free include path on successful load"
-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,
474 list_del(config->config_chain, index); 474 list_del(config->config_chain, index);
475 return false; 475 return false;
476 } 476 }
477 free(real_path);
478 477
479 // restore current_config_path 478 // restore current_config_path
480 config->current_config_path = parent_config; 479 config->current_config_path = parent_config;