[Mesa-dev] [PATCH] memory leak in egl

enpeng xu enpengxu at gmail.com
Wed Oct 8 10:29:27 PDT 2014


diff --git a/src/egl/drivers/dri2/egl_dri2.c
b/src/egl/drivers/dri2/egl_dri2.c
index 20a7243..6b48646 100644
--- a/src/egl/drivers/dri2/egl_dri2.c
+++ b/src/egl/drivers/dri2/egl_dri2.c
@@ -706,6 +706,7 @@ dri2_terminate(_EGLDriver *drv, _EGLDisplay *disp)
       break;
    }

+   free(dri2_dpy->driver_configs);
    free(dri2_dpy);
    disp->DriverData = NULL;
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20141008/88700f02/attachment.html>


More information about the mesa-dev mailing list