Skip to content

osmesa: clean up st_screen on exit

Powei Feng requested to merge poweif/mesa:pf/osmesa-fix-screen-leak into main

What does this MR do and why?

osmesa: clean up st_screen on exit

st_screen is allocated but never cleaned up when the client app
exits. Note that the drawable_ht field would not be set for
`st_screen` when used with OSMesa, and so add an additional
conditional in the st_screen_destroy method.

Merge request reports

Loading