Fix memleak: FREE(assign->dest.output)

This commit is contained in:
Orestis Floros
2018-03-19 02:02:59 +02:00
parent e3e09119bf
commit 1fe4e635b5
2 changed files with 3 additions and 1 deletions

View File

@ -103,6 +103,8 @@ void load_configuration(xcb_connection_t *conn, const char *override_configpath,
FREE(assign->dest.workspace);
else if (assign->type == A_COMMAND)
FREE(assign->dest.command);
else if (assign->type == A_TO_OUTPUT)
FREE(assign->dest.output);
match_free(&(assign->match));
TAILQ_REMOVE(&assignments, assign, assignments);
FREE(assign);