From: Orestis Floros Date: Sun, 25 Mar 2018 17:35:53 +0000 (+0300) Subject: Free A_TO_WORKSPACE_NUMBER assignments X-Git-Tag: 4.16~115^2~1 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=e19a1209614a5cab8b66ca138ad24df2c0345244;p=i3%2Fi3 Free A_TO_WORKSPACE_NUMBER assignments --- 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);