Free A_TO_WORKSPACE_NUMBER assignments

next
Orestis Floros 2018-03-25 20:35:53 +03:00
parent a5014dc7f8
commit e19a120961
No known key found for this signature in database
GPG Key ID: E9AD9F32E401E38F
1 changed files with 1 additions and 1 deletions

View File

@ -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);