projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f441632
)
glx/apple: Fixed glx context memory leak in case of failure.
author
Siavash Eliasi
<siavashserver@gmail.com>
Mon, 10 Feb 2014 09:58:16 +0000
(13:28 +0330)
committer
Kristian Høgsberg
<krh@bitplanet.net>
Fri, 28 Feb 2014 23:57:15 +0000
(15:57 -0800)
Reviewed-by: Kristian Høgsberg <krh@bitplanet.net>
Reviewed-by: Jeremy Huddleston Sequoia: <jeremyhu@apple.com>
src/glx/apple/apple_glx_context.c
patch
|
blob
|
history
diff --git
a/src/glx/apple/apple_glx_context.c
b/src/glx/apple/apple_glx_context.c
index
0bb25b4
..
8a6ded2
100644
(file)
--- a/
src/glx/apple/apple_glx_context.c
+++ b/
src/glx/apple/apple_glx_context.c
@@
-142,6
+142,7
@@
apple_glx_create_context(void **ptr, Display * dpy, int screen,
if (sharedac && !is_context_valid(sharedac)) {
*errorptr = GLXBadContext;
*x11errorptr = false;
+ free(ac);
return true;
}