diff options
-rw-r--r-- | src/glx/drisw_glx.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/glx/drisw_glx.c b/src/glx/drisw_glx.c index 66a60430e81..c5b179157b3 100644 --- a/src/glx/drisw_glx.c +++ b/src/glx/drisw_glx.c @@ -502,10 +502,9 @@ driCreateScreen(int screen, struct glx_display *priv) return &psc->base; handle_error: - Xfree(psc); - if (psc->driver) dlclose(psc->driver); + Xfree(psc); ErrorMessageF("reverting to indirect rendering\n"); |