diff options
author | Michel Dänzer <michel@tungstengraphics.com> | 2007-02-01 10:43:10 +0100 |
---|---|---|
committer | Michel Dänzer <michel@tungstengraphics.com> | 2007-02-01 10:43:10 +0100 |
commit | bed026e7dda14ac1c555f1fb16d70eadcd1a01fc (patch) | |
tree | 5624ad4de8140ec03b121e126d3c22ceebba8f9b /src/mesa/drivers | |
parent | a2104dc6e18879ed3ba2108a09b6779e461eaa17 (diff) |
driDestroyDisplay: Remove Drivers list entry when dlclosing its handle.
This fixes a regression from commit f81b1dbe374fe446f6ef676e70a72952ffb47d4e:
Since then, driDestroyDisplay gets called from __glXFreeDisplayPrivate. It
dlcloses the handles associated with the display but fails to remove their
references from the Drivers list, so subsequent calls to OpenDriver return a
stale handle and an invalid createNewScreenFunc pointer. The attempt to call
the latter results in a segfault when running amoeba, e.g.
Diffstat (limited to 'src/mesa/drivers')
0 files changed, 0 insertions, 0 deletions