aboutsummaryrefslogtreecommitdiff
path: root/sway/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/main.c')
-rw-r--r--sway/main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sway/main.c b/sway/main.c
index 177c0aa1..2cc69dfb 100644
--- a/sway/main.c
+++ b/sway/main.c
@@ -259,6 +259,7 @@ int main(int argc, char **argv) {
exit(EXIT_SUCCESS);
break;
case 'c': // config
+ free(config_path);
config_path = strdup(optarg);
break;
case 'C': // validate