Skip to content

Commit

Permalink
output-management: Destroy config head objects
Browse files Browse the repository at this point in the history
Otherwise they leak.
  • Loading branch information
any1 committed Sep 24, 2024
1 parent 92141ee commit 559f400
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/output-management.c
Original file line number Diff line number Diff line change
Expand Up @@ -275,6 +275,8 @@ bool wlr_output_manager_resize_output(struct output* output,
zwlr_output_configuration_head_v1_set_transform(
config_head, WL_OUTPUT_TRANSFORM_NORMAL);
}

zwlr_output_configuration_head_v1_destroy(config_head);
}

nvnc_trace("applying new output config");
Expand Down

0 comments on commit 559f400

Please sign in to comment.