fix: compile

This commit is contained in:
Aurelien Rebourg 2022-10-10 15:35:12 +02:00
parent d2742a35a4
commit 4984514911
No known key found for this signature in database
GPG Key ID: DCA8C44ABFE7F847
1 changed files with 1 additions and 2 deletions

View File

@ -2332,13 +2332,12 @@ drmmode_scanout_destroy(xf86CrtcPtr crtc, drmmode_shadow_scanout_ptr scanout)
scanout->fb_id = 0;
}
drmmode_set_pixmap_bo(drmmode, rotate_pixmap, &drmmode_crtc->shadow_rotated.bo);
drmmode_bo_destroy(drmmode, &scanout->bo);
memset(&scanout->bo, 0, sizeof scanout->bo);
RegionEmpty(&scanout->screen_damage);
free(scanout)
free(scanout);
}
static void