diff --git a/sway/desktop/output.c b/sway/desktop/output.c index b1767efc4..afe43d2ce 100644 --- a/sway/desktop/output.c +++ b/sway/desktop/output.c @@ -901,6 +901,7 @@ void handle_new_output(struct wl_listener *listener, void *data) { } else { wlr_output_enable(output->wlr_output, false); } + free_output_config(oc); transaction_commit_dirty();