projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
95368f2
)
mesa: Fix allocation size of extension_indices array.
author
Vinson Lee
<vlee@vmware.com>
Wed, 6 Apr 2011 23:13:15 +0000
(16:13 -0700)
committer
Vinson Lee
<vlee@vmware.com>
Wed, 6 Apr 2011 23:14:22 +0000
(16:14 -0700)
Reviewed-by: Brian Paul <brianp@vmware.com>
src/mesa/main/extensions.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/extensions.c
b/src/mesa/main/extensions.c
index 285e08d7596ca79f45a060981716c4c4c8f20846..e5711f21aecf83dfdf29439cc03f03f993a6b020 100644
(file)
--- a/
src/mesa/main/extensions.c
+++ b/
src/mesa/main/extensions.c
@@
-908,7
+908,7
@@
_mesa_make_extension_string(struct gl_context *ctx)
return NULL;
}
- extension_indices = malloc(count * sizeof
extension_indices
);
+ extension_indices = malloc(count * sizeof
(extension_index)
);
if (extension_indices == NULL) {
free(exts);
free(extra_extensions);