mesa: added memory-related comment in save_error()

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
This commit is contained in:
Brian Paul 2013-11-29 06:40:35 -07:00
parent 95d6ed22b3
commit 90d85aa16c

View file

@ -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.
*/
}
}