mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-12-23 02:19:49 +01:00
scene: fix calloc size mismatch
This commit is contained in:
parent
fc1ed72bdc
commit
eb5f23d6d0
1 changed files with 1 additions and 1 deletions
|
@ -798,7 +798,7 @@ static const struct wlr_addon_interface output_addon_impl = {
|
|||
|
||||
struct wlr_scene_output *wlr_scene_output_create(struct wlr_scene *scene,
|
||||
struct wlr_output *output) {
|
||||
struct wlr_scene_output *scene_output = calloc(1, sizeof(*output));
|
||||
struct wlr_scene_output *scene_output = calloc(1, sizeof(*scene_output));
|
||||
if (scene_output == NULL) {
|
||||
return NULL;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue