diff options
author | Drew DeVault <sir@cmpwn.com> | 2018-07-16 21:00:57 -0400 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2018-07-16 21:02:13 -0400 |
commit | db3a36373435a34b8d0a5fc4e90eacaa2b1dae6b (patch) | |
tree | 2ddd5d9c4992937811c257affa19724960722672 | |
parent | Merge pull request #2287 from RyanDwyer/superfluous-urgent-events (diff) | |
download | sway-db3a36373435a34b8d0a5fc4e90eacaa2b1dae6b.tar.gz sway-db3a36373435a34b8d0a5fc4e90eacaa2b1dae6b.tar.zst sway-db3a36373435a34b8d0a5fc4e90eacaa2b1dae6b.zip |
Revert "config: free include path on successful load"
This reverts commit 92450883d7b148d408b42c3553a60340a14771f6.
-rw-r--r-- | sway/config.c | 1 |
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; |