summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/dlist.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2013-11-29 06:40:35 -0700
committerBrian Paul <[email protected]>2013-11-29 06:41:14 -0700
commit90d85aa16c12e072bdc03d1c552c199b5e3c64b9 (patch)
tree61880bea656d4b44d890a5311c69fa6f3d01f41c /src/mesa/main/dlist.c
parent95d6ed22b3b33c1d3c748ef88db53866eb7c3f91 (diff)
mesa: added memory-related comment in save_error()
Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/mesa/main/dlist.c')
-rw-r--r--src/mesa/main/dlist.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mesa/main/dlist.c b/src/mesa/main/dlist.c
index 74800da9ef1..83c56a7e728 100644
--- 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.
+ */
}
}