From db3a36373435a34b8d0a5fc4e90eacaa2b1dae6b Mon Sep 17 00:00:00 2001
From: Drew DeVault <sir@cmpwn.com>
Date: Mon, 16 Jul 2018 21:00:57 -0400
Subject: Revert "config: free include path on successful load"

This reverts commit 92450883d7b148d408b42c3553a60340a14771f6.
---
 sway/config.c | 1 -
 1 file changed, 1 deletion(-)

(limited to 'sway/config.c')

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;
-- 
cgit v1.2.3