mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 07:28:11 +02:00
mesa: added memory-related comment in save_error()
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
This commit is contained in:
parent
95d6ed22b3
commit
90d85aa16c
1 changed files with 4 additions and 0 deletions
|
|
@ -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.
|
||||
*/
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue