projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
95d6ed2
)
mesa: added memory-related comment in save_error()
author
Brian Paul
<brianp@vmware.com>
Fri, 29 Nov 2013 13:40:35 +0000
(06:40 -0700)
committer
Brian Paul
<brianp@vmware.com>
Fri, 29 Nov 2013 13:41:14 +0000
(06:41 -0700)
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/mesa/main/dlist.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/dlist.c
b/src/mesa/main/dlist.c
index 74800da9ef1f88a413bd1d33b9003a9f11c032a9..83c56a7e7286577b35f8c0eb8b82d9cd81e6739c 100644
(file)
--- a/
src/mesa/main/dlist.c
+++ b/
src/mesa/main/dlist.c
@@
-6845,6
+6845,10
@@
save_error(struct gl_context *ctx, GLenum error, const char *s)
if (n) {
n[1].e = error;
n[2].data = (void *) s;
+ /* note: the data/string here doesn't have to be freed in
+ * _mesa_delete_list() since the string is never dynamically
+ * allocated.
+ */
}
}