pipe-loader: Don't destroy the winsys in the sw loader
The screen takes ownership of the winsys, and is responsible for destroying it. Users of pipe-loader should make sure they destory and screens they've created to avoid memory leaks. This fixes a crash in clover introduced by ce6c17c0 where the pipe-loader was destroying the winsys while a screen was still using it. Cc: "10.2" <mesa-stable@lists.freedesktop.org> Reviewed-by:Emil Velikov <emil.l.velikov@gmail.com> (cherry picked from commit c650033b)
Loading
Please register or sign in to comment