projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
64d6460
)
glx/drisw: fix memory leak when destroying screen.
author
Roland Scheidegger
<sroland@vmware.com>
Wed, 30 Apr 2014 23:04:31 +0000
(
01:04
+0200)
committer
Roland Scheidegger
<sroland@vmware.com>
Thu, 1 May 2014 14:13:38 +0000
(16:13 +0200)
Reviewed-by: Brian Paul <brianp@vmware.com>
src/glx/drisw_glx.c
patch
|
blob
|
history
diff --git
a/src/glx/drisw_glx.c
b/src/glx/drisw_glx.c
index 751626bf3bb0a0f0a32fe1e4ee7bbc87f3f8d255..5885b6635c48184199363796c10e503857acce59 100644
(file)
--- 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"