diff options
author | Roland Scheidegger <sroland@vmware.com> | 2014-05-01 01:04:31 +0200 |
---|---|---|
committer | Roland Scheidegger <sroland@vmware.com> | 2014-05-01 16:13:38 +0200 |
commit | a773fdc64da8ba88d8c7f8e383c45248b0c3aa19 (patch) | |
tree | 84f792818414f8e3a4dd8546e606092d186f4197 /src/glx | |
parent | 64d6460a56119c2da726d7de426dc8ac33e7f8bc (diff) |
glx/drisw: fix memory leak when destroying screen.
Reviewed-by: Brian Paul <brianp@vmware.com>
Diffstat (limited to 'src/glx')
-rw-r--r-- | src/glx/drisw_glx.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/glx/drisw_glx.c b/src/glx/drisw_glx.c index 751626bf3b..5885b6635c 100644 --- a/src/glx/drisw_glx.c +++ b/src/glx/drisw_glx.c @@ -619,6 +619,7 @@ driswDestroyScreen(struct glx_screen *base) psc->driScreen = NULL; if (psc->driver) dlclose(psc->driver); + free(psc); } #define SWRAST_DRIVER_NAME "swrast" |