From e19a1209614a5cab8b66ca138ad24df2c0345244 Mon Sep 17 00:00:00 2001 From: Orestis Floros Date: Sun, 25 Mar 2018 20:35:53 +0300 Subject: [PATCH] Free A_TO_WORKSPACE_NUMBER assignments --- src/config.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config.c b/src/config.c index fd379fde..95b7ec98 100644 --- a/src/config.c +++ b/src/config.c @@ -99,7 +99,7 @@ void load_configuration(xcb_connection_t *conn, const char *override_configpath, struct Assignment *assign; while (!TAILQ_EMPTY(&assignments)) { assign = TAILQ_FIRST(&assignments); - if (assign->type == A_TO_WORKSPACE) + if (assign->type == A_TO_WORKSPACE || assign->type == A_TO_WORKSPACE_NUMBER) FREE(assign->dest.workspace); else if (assign->type == A_COMMAND) FREE(assign->dest.command); -- 2.39.5