summaryrefslogtreecommitdiffstats
path: root/src/egl/main/egldriver.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/egl/main/egldriver.c')
-rw-r--r--src/egl/main/egldriver.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/egl/main/egldriver.c b/src/egl/main/egldriver.c
index 1ede95ea6f4..5d5b7daa418 100644
--- a/src/egl/main/egldriver.c
+++ b/src/egl/main/egldriver.c
@@ -120,8 +120,6 @@ void
_eglUnloadDrivers(void)
{
/* this is called at atexit time */
- if (_eglDriver && _eglDriver->Unload)
- _eglDriver->Unload(_eglDriver);
-
+ free(_eglDriver);
_eglDriver = NULL;
}